SmartGridToolbox
SmartGridToolbox copied to clipboard
Smart Grid Simulation Library (C++14)
Make sure the direction of current is sensible for each type of transformer.
We used to be able to do stuff like this: ``` bus->voltageUpdated().addAction([&](){ if (abs(bus->voltage()(0)) < threshold) appliance->setOn(false);}); ``` With changes that occurred some time ago, this becomes harder. For example,...
Test the use of null placeholders in ComponentCollection - I'm not sure it works properly.
Code can be improved by [this trick](https://stackoverflow.com/a/41602932).
Armadillo 8.100 has improved handling of sparse matrices. Incrementally constructing sparse matrices is now much faster. As such, the SparseHelper class is no longer necessary: SmartGridToolbox/SgtCore/SparseHelper.h
Simulation provides write access to SimComponents and TimeSeries collections, but also provides add and remove functions. Based on the principle that multiple ways of doing the same thing can be...
1. Zips and Gens should derive from a common class, e.g. PowerFlow. (Would need to rename the existing PowerFlow.h to e.g. PowerFlowUtils.h. 2. PowerFlow has following: ``` ComponentPtr bus0; ComponentPtr...
SimGen with a ramp rate, etc. Ramp rate affects max and min power. This should be easy and very useful. Can be tied in with a network frequency functionality.