42#ifndef MODELS_POWER_SIMPLE_POWER_SYSTEM_H
43#define MODELS_POWER_SIMPLE_POWER_SYSTEM_H
56 MODEL(SimpleBatterySystem)
63 SIGNAL(peak_battery_voltage,
double, 0.0)
65 SIGNAL(single_battery_capacity,
double, 0.0)
67 SIGNAL(shutoff_capacity,
double, 0.0)
69 SIGNAL(initial_charge_state,
double, 1.0)
71 SIGNAL(num_batteries_series,
int, 1)
73 SIGNAL(num_batteries_parallel,
int, 1)
75 SIGNAL(capacity_voltage_def, std::
string, warptwinDir()+
"data"+slash()+
"power"+slash()+
"lithium_ion.json")
82 SIGNAL(power_generation_in,
double, 0.0)
84 SIGNAL(power_draw_out,
double, 0.0)
91 SIGNAL(net_power_change,
double, 0.0)
93 SIGNAL(depth_of_discharge,
double, 0.0)
95 SIGNAL(system_voltage,
double, 0.0)
97 SIGNAL(current_draw,
double, 0.0)
99 SIGNAL(power_available,
int, 0)
103 int16
start() override;
#define SIGNAL(NAME, TYPE, INITIAL_VALUE)
Definition appmacros.h:27
#define START_PARAMS
Definition appmacros.h:42
#define END_OUTPUTS
Definition appmacros.h:33
#define END_PARAMS
Definition appmacros.h:47
#define START_OUTPUTS
Definition appmacros.h:28
#define END_INPUTS
Definition appmacros.h:40
#define START_INPUTS
Definition appmacros.h:35
A class for performing simple x-y linear interpolation.
Definition Interpolate2D.h:50
Class to propagate CR3BP dynamics in characteristic units.
Definition statistics.hpp:22
double _total_system_capacity
Definition SimpleBatterySystem.h:106
int16 start() override
Class to execute logging.
SIGNAL(_mu, double, warpos::earth_wgs84.mu)
double _system_shutoff_capacity
Definition SimpleBatterySystem.h:108
double _current_capacity
Definition SimpleBatterySystem.h:109
@ MODEL
Simplified dynamics model representing motion in the circular restricted 3 body problem.
Definition ImNode.h:31
int16 execute() override
Function to check monitor input conditions and set trigger flag accordingly. Should be implemented in...
Interpolate2D _voltage_interp_table
Definition SimpleBatterySystem.h:111
double _peak_system_voltage
Definition SimpleBatterySystem.h:107