![]() |
Documentation of UrbanFireXDT
Documentation of UrbanFireXDT
|
Enumerations | |
| enum struct | OutputModePerCU : short { IndividualFile , SingleFile , NoOutput } |
| enum struct | ExpansionProfileAllocationMode : short { Uninitialized , AsInData , Random } |
| enum struct | CUSModeFCA { Uninitialized , OrderAsInData , RandomSelection , BestSSR , BestNPV , UseList } |
| enum struct | BatteryPowerComputationMode { AsDefinedByConfigVar , UseEOverPRatio } |
| enum struct | BatteryCapacityComputationMode { Constant , BasedOnNominalPVPower , BasedOnAnnualConsumption , BasedOnAnnualConsumptionWithHeatPump , Optimized } |
| enum struct | PVSizingMode : short { MaxAvailableRoofArea , StaticPVSize , Optimized } |
| enum struct | ControllerMode { RuleBased , OptimizedWithPerfectForecast } |
| enum struct | ControllerBSGridChargingMode { NoGridCharging , OnlyGridCharging , GridChargingAndDischarging } |
| enum struct | ControllerOptimizationTarget { ElectricityCosts , PeakLoad , Emissions } |
Functions | |
| bool | all_variables_initialized () |
| Checks if all variables are initialized. | |
| void | vacuum () |
| Deletes all global variables in the end. | |
| void | print_uninitialized_variables () |
| Prints all variable names to stdout, that are not initialized. | |
Variables | |
| unsigned long * | time_timestep_id = NULL |
| Reference to the list of time steps. | |
| std::vector< struct tm * > * | time_localtime_r = NULL |
| Reference to the list of right-aligned time stamps as struct tm. Right-aligned means the time at time step ts denotes the time at the ending of the interval - alignment fits to time_timestep_id. | |
| std::vector< struct tm * > * | time_localtime_l = NULL |
| Reference to the list of left-aligned time stamps as struct tm. Left-aligned means the time at time step ts denotes the time at the start of the interval - alignment fits to time_timestep_id. | |
| std::vector< std::string > * | time_localtimezone_str = NULL |
| Reference to the list of the time zone as string - alignment fits to time_timestep_id. | |
| std::map< std::string, size_t > | pv_profiles_information |
| Map (orientation, number of time series) where the number of pv-profiles per orientation are given. | |
| std::map< std::string, std::vector< const float * > > | pv_profiles_per_ori |
| Map (orientation, vector of references to the time series) where the available time series per orientation are given - same ordering as in data. | |
| const float *const * | pv_profiles_data = NULL |
| Reference to the list of global PV profiles (Two dimensional array with [n_pv_profiles, n_timesteps]) | |
| const float *const * | hp_profiles = NULL |
| Reference to the list of global heat pump profiles (Two dimensional array with [n_heatpump_profiles, n_timesteps]) | |
| const double *const * | hp_profiles_cumsum = NULL |
| Reference to the list of cumulated global heat pump profiles (Two dimensional array with [n_heatpump_profiles, n_timesteps]) | |
| const float * | residual_gridload_kW = NULL |
| Residual netload, i.e. amount of load that has to be added to the final netload, this is a load that is not measured by smart meters occuring in this simulation. | |
| const float * | wind_profile = NULL |
| Reference to the list of the global wind profile values. | |
| OpenSpacePVOrWind * | unit_open_space_pv = NULL |
| Reference to the global open space pv unit. | |
| OpenSpacePVOrWind * | unit_open_space_wind = NULL |
| Reference to the global open space wind unit. | |
| unsigned long | n_ts_between_flushs = 1000 |
| Number of timesteps between the flush of the output buffers. | |
| std::map< unsigned long, float > | annual_heat_demand_kWh |
| Map storing the annaul heat demand for the buildings in kWh (thermal) [per location id]. | |
| std::map< unsigned long, float > | building_volumes_m3 |
| Map storing the volume of the biggest building at a given location in cubic-meters (m^3) | |
| std::map< unsigned long, std::vector< std::pair< float, std::string > > > | roof_section_orientations |
| Map storing a complet list of roof sections per location ID. Roof sections are tuples/pairs with the information (roof section area, roof section orientation) | |
| std::set< unsigned long > | locations_with_geodata |
| List / Set storing all locations for which geodata is available. | |
| unsigned int | current_repetition_counter = 0 |
| Repetition counter, if repetitions is set as a command line argument. | |
| const float * | emission_ts = NULL |
| Reference to the emission time series for grid demanded energy (if present) in g CO2eq per kWh. | |
| const float * | eprices_local_ts = NULL |
| Reference to the time series of the energy prices (for residential customers) for grid demanded energy (if present) | |
| const float * | eprices_spotm_ts = NULL |
| Reference to the time series of the energy prices at the spot market (for non-residential customers, without vat or taxes) (if present) | |
| std::vector< unsigned long > | unitIDs_selected_for_output |
| A vector containing a list of all unitIDs selected for output. If this vector is empty (as it is by default), all units will generate an output. | |
| std::list< std::list< std::pair< std::string, float > > > * | parameter_var_list = NULL |
| List of parameters variation settings (i.e. the list contains a list of lists, where the inner lists represent a setting of ONE parameter variation setting (variable name, variable value)) | |
| unsigned int | curr_param_vari_combi_index = 0 |
| The index of the current parameter variation combination, that is simulated (0, if no parameter variation is selected) | |
| std::filesystem::path * | current_output_dir = NULL |
| Reference to the object holding the current output path (maybe changed due to different parameter variations) | |
| std::filesystem::path * | current_output_dir_prefix = NULL |
| Reference to the path of the output path where all parameter variations can be found (i.e. the top level of current_output_dir if param vari is selected; i.e.2. one level below current_global_output_dir) | |
| std::filesystem::path * | current_global_output_dir = NULL |
| Reference to the object holding the current output dir for global information (i.e. information that does not change during parameter variations) | |
| bool | time_info_init = false |
| std::chrono::time_point< std::chrono::system_clock > | time_of_simulation_start |
| The time of the simulation start. | |
| std::string | structure_db_column_name_energy_prices = "local_price" |
| The name of the column containing the local energy prices in EUR/kWh. | |
| const char *const | output_section_delimiter = "*********************************************************************************" |
Namespace global
It contains all global attributes and variables that might change during simulation execution.
Attention: There is no access protection for these variables! For access protection use class Global.
Attention: Do not confuse with class Global (mind the capital "G")!
|
strong |
This enum defines how the battery capacity sizing mode. There are the following options:
| Enumerator | |
|---|---|
| Constant | |
| BasedOnNominalPVPower | |
| BasedOnAnnualConsumption | |
| BasedOnAnnualConsumptionWithHeatPump | |
| Optimized | |
|
strong |
This enum defines how the battery storage power should be computet. There are two options:
| Enumerator | |
|---|---|
| AsDefinedByConfigVar | |
| UseEOverPRatio | |
|
strong |
This enum defines the possible battery storage (BS) charging and discharging options.
|
strong |
|
strong |
This enum defines the possible optimization targets used inside the control units for making decissions if a optimized controller is used.
|
strong |
|
strong |
|
strong |
|
strong |
This enum defines the different PV sizing modes. This is the analogon to the enum struct BatteryCapacityComputationMode. There are the following options:
| Enumerator | |
|---|---|
| MaxAvailableRoofArea | |
| StaticPVSize | |
| Optimized | |
| bool global::all_variables_initialized | ( | ) |
Checks if all variables are initialized.
| void global::print_uninitialized_variables | ( | ) |
Prints all variable names to stdout, that are not initialized.
| void global::vacuum | ( | ) |
Deletes all global variables in the end.
|
inline |
Map storing the annaul heat demand for the buildings in kWh (thermal) [per location id].
|
inline |
Map storing the volume of the biggest building at a given location in cubic-meters (m^3)
|
inline |
The index of the current parameter variation combination, that is simulated (0, if no parameter variation is selected)
|
inline |
Reference to the object holding the current output dir for global information (i.e. information that does not change during parameter variations)
|
inline |
Reference to the object holding the current output path (maybe changed due to different parameter variations)
|
inline |
Reference to the path of the output path where all parameter variations can be found (i.e. the top level of current_output_dir if param vari is selected; i.e.2. one level below current_global_output_dir)
|
inline |
Repetition counter, if repetitions is set as a command line argument.
|
inline |
Reference to the emission time series for grid demanded energy (if present) in g CO2eq per kWh.
|
inline |
Reference to the time series of the energy prices (for residential customers) for grid demanded energy (if present)
|
inline |
Reference to the time series of the energy prices at the spot market (for non-residential customers, without vat or taxes) (if present)
|
inline |
Reference to the list of global heat pump profiles (Two dimensional array with [n_heatpump_profiles, n_timesteps])
|
inline |
Reference to the list of cumulated global heat pump profiles (Two dimensional array with [n_heatpump_profiles, n_timesteps])
|
inline |
List / Set storing all locations for which geodata is available.
|
inline |
Number of timesteps between the flush of the output buffers.
| const char* const global::output_section_delimiter = "*********************************************************************************" |
The string to delmitit output sections
|
inline |
List of parameters variation settings (i.e. the list contains a list of lists, where the inner lists represent a setting of ONE parameter variation setting (variable name, variable value))
|
inline |
Reference to the list of global PV profiles (Two dimensional array with [n_pv_profiles, n_timesteps])
|
inline |
Map (orientation, number of time series) where the number of pv-profiles per orientation are given.
|
inline |
Map (orientation, vector of references to the time series) where the available time series per orientation are given - same ordering as in data.
|
inline |
Residual netload, i.e. amount of load that has to be added to the final netload, this is a load that is not measured by smart meters occuring in this simulation.
|
inline |
Map storing a complet list of roof sections per location ID. Roof sections are tuples/pairs with the information (roof section area, roof section orientation)
|
inline |
The name of the column containing the local energy prices in EUR/kWh.
|
inline |
|
inline |
Reference to the list of left-aligned time stamps as struct tm. Left-aligned means the time at time step ts denotes the time at the start of the interval - alignment fits to time_timestep_id.
|
inline |
Reference to the list of right-aligned time stamps as struct tm. Right-aligned means the time at time step ts denotes the time at the ending of the interval - alignment fits to time_timestep_id.
|
inline |
Reference to the list of the time zone as string - alignment fits to time_timestep_id.
|
inline |
The time of the simulation start.
|
inline |
Reference to the list of time steps.
|
inline |
Reference to the global open space pv unit.
|
inline |
Reference to the global open space wind unit.
|
inline |
A vector containing a list of all unitIDs selected for output. If this vector is empty (as it is by default), all units will generate an output.
|
inline |
Reference to the list of the global wind profile values.