Demonstrate a solar power system with solar panels, batteries and a load. More...
Go to the source code of this file.
Demonstrate a solar power system with solar panels, batteries and a load.
<Simulation> <version>1</version> <timeStep>1</timeStep> <startSeconds>0</startSeconds> <startJD>2456349.000313881</startJD> <timeScale>-1.0</timeScale> <name>Solar Power System</name> <integrator> <name>RK4</name> <type>DSimRK4</type> <library>builtin</library> </integrator> <objectTree> <object> <name>Battery</name> <type>Battery</type> <library>/Library/Application Support/VisualCommander/Model Libraries/DACSimulation.bundle</library> <integrator>RK4</integrator> <connectOutlet> <variable>power</variable> <source>PowerSystem:net_power</source> </connectOutlet> <logVariable>battery_charge</logVariable> <telemetry>charge_rate</telemetry> <telemetry>battery_charge</telemetry> <telemetry>max_charge</telemetry> <command>charge_rate</command> <command>max_charge</command> </object> <object> <name>PowerSystem</name> <type>PowerSystem</type> <library>/Library/Application Support/VisualCommander/Model Libraries/DACSimulation.bundle</library> <integrator>RK4</integrator> <networkConnection> <network>power</network> <objectA>PowerSystem</objectA> <objectB>TV</objectB> <biDirectional>0E0</biDirectional> <connectionVariable> <variable>power</variable> <value></value> </connectionVariable> </networkConnection> <networkConnection> <network>power</network> <objectA>PowerSystem</objectA> <objectB>SolarPanels</objectB> <biDirectional>0E0</biDirectional> <connectionVariable> <variable>power</variable> <value></value> </connectionVariable> </networkConnection> <networkConnection> <network>power</network> <objectA>PowerSystem</objectA> <objectB>Battery</objectB> <biDirectional>0E0</biDirectional> <connectionVariable> <variable>power</variable> <value></value> </connectionVariable> </networkConnection> <telemetry>number_connections</telemetry> <telemetry>net_power</telemetry> </object> <object> <name>SolarPanels</name> <type>SolarPanelModel</type> <library>/Library/Application Support/VisualCommander/Model Libraries/DACSimulation.bundle</library> <integrator>RK4</integrator> <telemetry>power</telemetry> </object> <object> <name>TV</name> <type>Load</type> <library>/Library/Application Support/VisualCommander/Model Libraries/DACSimulation.bundle</library> <integrator>RK4</integrator> <setValue> <variable>power_consumed</variable> <value>-150</value> </setValue> <telemetry>power</telemetry> <telemetry>power_consumed</telemetry> <command>power_consumed</command> </object> </objectTree> </Simulation>
Definition in file SolarPowerSystem.ds2.