michael-sankur / gigpower Goto Github PK
View Code? Open in Web Editor NEWA python package for solving powerflow.
Home Page: https://gigpower.readthedocs.io/en/latest/README.html
A python package for solving powerflow.
Home Page: https://gigpower.readthedocs.io/en/latest/README.html
Sphinx's autodoc extension can use napoleon to render numpy doc strings in a nice way. Re-write doc strings to follow numpy conventions:https://sphinxcontrib-napoleon.readthedocs.io/en/latest/example_numpy.html
Many objects have attributes that are not preceded by underscores, therefore by convention, they are considered to be public. It would be better practice to make all attributes private, and provide getters and setter methods for users to explicitly read and change attributes. Here is a general example of how to revise:
Before: attributes set on the object without getters/setters:
class Solution
def __init__(dss_file, **kwargs):
self.V = None
After: prepend all attributes with underscores and provide getters and setters as appropriate:
class Solution
def __init__(dss_file, **kwargs):
self._V = None
def get_V(self):
return self._V
def set_V(self):
raise Error("Cannot set Solution voltages.")
Circuits and Solutions are complicated objects! A diagram would make relationships much clearer.
Remove all calls to dss objects from Solution, SolutionNR3, and SolutionFBS objects. That way they are fully insulated from opendss and only reflect what's going on in the Circuit objects.
See https://github.com/elaguerta/gigpower/releases/tag/0.1.0 for older code that can be used as a model.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.