![]() |
Documentation of UrbanFireXDT
Documentation of UrbanFireXDT
|
#include <units.h>

Public Member Functions | |
| ~Substation () | |
| unsigned long | get_internal_id () const |
| Returns the internal ID of the substation. | |
| unsigned long | get_id () const |
| Returns the ID of the substation as defined in the system structure database. | |
| const std::string * | get_name () const |
| Returns the name of the substation. | |
| double | get_station_load () const |
| Returns the current load at the substation in kW. | |
| double | get_residential_load () const |
| Returns the current load at the substation in kW, generated by residential control units only. | |
| double | get_residential_demand () const |
| Returns the accumulated demand (i.e., only the positive virtual smart meter readings) of all residential control units at this substation in kW. | |
| double | get_other_demand () const |
| Returns the accumulated demand (i.e., only the positive virtual smart meter readings) of all non-residential control units at this substation in kW. | |
| double | get_current_demand_no_BESS () const |
| Returns the current demand of all connected units without considering the local generation OR the BESS | |
| double | get_current_BESS_demand () const |
| Returns the current charging demand of all BESS in all connected units. | |
| double | get_current_PV_generation_total_kW () const |
| Returns the current generation (without consideration of self-consumption) in kW that is generated by all connected PV installations. | |
| double | get_current_BS_generation_total_kW () const |
| Returns the current generation (without consideration of self-consumption) in kW that is generated by all connected battery storage systems. | |
| double | get_current_CHP_generation_total_kW () const |
| Returns the current generation (without consideration of self-consumption) in kW that is generated by all connected CHPs. | |
| double | get_current_wind_generation_total_kW () const |
| Returns the current generation (without consideration of self-consumption) in kW that is generated by all connected wind turbines. | |
| double | get_current_unknown_generation_total_kW () const |
| Returns the current generation (without consideration of self-consumption) in kW that is generated by unknown components or not attributable to any generation technology. | |
| double | get_current_PV_feedin_to_grid_kW () const |
| Returns the current feed-in into the grid in kW that is generated by all connected PV installations. | |
| double | get_current_BS_feedin_to_grid_kW () const |
| Returns the current feed-in into the grid in kW that is generated by all connected battery storage systems. | |
| double | get_current_CHP_feedin_to_grid_kW () const |
| Returns the current feed-in into the grid in kW that is generated by all connected CHPs. | |
| double | get_current_wind_feedin_to_grid_kW () const |
| Returns the current feed-in into the grid in kW that is generated by all connected wind turbines. | |
| double | get_current_unknown_feedin_to_grid_kW () const |
| Returns the current feed-in into the grid in kW that is generated by unknown components or not attributable to any generation technology. | |
| void | add_unit (ControlUnit *unit) |
| void | calc_load () |
| const std::list< ControlUnit * > * | get_connected_units () |
| Return the list of connected units (as read only list) | |
Static Public Member Functions | |
| static bool | InstantiateNewSubstation (unsigned long public_id, std::string *name) |
| static void | InitializeStaticVariables (unsigned long n_substations) |
| static void | VacuumInstancesAndStaticVariables () |
| static Substation * | GetInstancePublicID (unsigned long public_id) |
| Returns the instance with a given public_id. | |
| static Substation * | GetInstanceInternalID (unsigned long internal_id) |
| Returns the instance with a given public_id. | |
| static const std::vector< Substation * > & | GetArrayOfInstances () |
| Returns the std::vector of all substation instances. The objects itself are mutable, but the vector is const. | |
| static size_t | GetNumberOfInstances () |
This class represents a substation. One or more control units are connected to one instance of this class.
| Substation::~Substation | ( | ) |
| void Substation::add_unit | ( | ControlUnit * | unit | ) |
| void Substation::calc_load | ( | ) |
|
inline |
Return the list of connected units (as read only list)
|
inline |
Returns the current charging demand of all BESS in all connected units.
|
inline |
Returns the current feed-in into the grid in kW that is generated by all connected battery storage systems.
|
inline |
Returns the current generation (without consideration of self-consumption) in kW that is generated by all connected battery storage systems.
|
inline |
Returns the current feed-in into the grid in kW that is generated by all connected CHPs.
|
inline |
Returns the current generation (without consideration of self-consumption) in kW that is generated by all connected CHPs.
|
inline |
Returns the current demand of all connected units without considering the local generation OR the BESS
|
inline |
Returns the current feed-in into the grid in kW that is generated by all connected PV installations.
|
inline |
Returns the current generation (without consideration of self-consumption) in kW that is generated by all connected PV installations.
|
inline |
Returns the current feed-in into the grid in kW that is generated by unknown components or not attributable to any generation technology.
|
inline |
Returns the current generation (without consideration of self-consumption) in kW that is generated by unknown components or not attributable to any generation technology.
|
inline |
Returns the current feed-in into the grid in kW that is generated by all connected wind turbines.
|
inline |
Returns the current generation (without consideration of self-consumption) in kW that is generated by all connected wind turbines.
|
inline |
Returns the ID of the substation as defined in the system structure database.
|
inline |
Returns the internal ID of the substation.
|
inline |
Returns the name of the substation.
|
inline |
Returns the accumulated demand (i.e., only the positive virtual smart meter readings) of all non-residential control units at this substation in kW.
|
inline |
Returns the accumulated demand (i.e., only the positive virtual smart meter readings) of all residential control units at this substation in kW.
|
inline |
Returns the current load at the substation in kW, generated by residential control units only.
|
inline |
Returns the current load at the substation in kW.
|
inlinestatic |
Returns the std::vector of all substation instances. The objects itself are mutable, but the vector is const.
|
inlinestatic |
Returns the instance with a given public_id.
|
static |
Returns the instance with a given public_id.
|
inlinestatic |
|
static |
|
static |
Instantiates a new substation object. Returns false, if the ID is already defined.
|
static |