Code Monkey home page Code Monkey logo

psse_models's Introduction

psse_models

Place where I gather my PSSE Python models. At the moment I only have some load models and wrapper functions and some examples demonstrating how to use the load models

load_models

The load models I have created to be used in dynamic simulations

Load

This is the base class. It can perform a load step of a specified size

TimeSeriesLoad

This class is derived from the Load class. It takes in an array of load values and sets the load value to one of these at every time step

WhiteNoiseLoad

This class is derived from the TimeSeriesLoad class it takes in the mean and standard deviation and generates a white noise time series.

WienerProcessLoad

This class is derived from the WhiteNoiseLoad class it takes in the mean and standard deviation and generates a winer process |time series.

examples

Here examples on how to use loads are gathered

one_load_step

An example demonstrating how to use the code to run a dynamic simulation with a load step and plot the results.

wiener_loads

This example shows how to make all the loads in a system behave as wiener processes. It also shows how to run the dynamic simulation in a loop.

tests

All the load models are tested. The tests are compatible with pytest.

Installation

It should be possible to install the module using setuptools

Tips for setting up psspy

I normally follow the second highest rated answer to this thread https://psspy.org/psse-help-forum/question/122/how-do-i-import-the-psspy-module-in-a-python-script/ . The highest rated answer requires one to add some boilerplate code to each script, the second highest has a solution which avoids this.

psse_models's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.