modelDemand_3Tables
Three seperate tables for load profile data: electricity demand, heat demand for heating, heat demand for hot water
Extends from TransiEnt.Basics.Tables.Combined.CombinedTables.Base.Demand_combined.
Information
1. Purpose of model
Contains three different tables for load profile data for electricity, space heating and drinking hot water demand. Load profiles can be scaled using the scaling factors. The model can be used in the Basic_Grid_Element.
2. Level of detail, physical effects considered, and physical insight
(no remarks)
3. Limits of validity
(no remarks)
4. Interfaces
(no remarks)
5. Nomenclature
(no remarks)
6. Governing Equations
(no remarks)
7. Remarks for Usage
(no remarks)
8. Validation
(no remarks)
9. References
(no remarks)
10. Version History
Model created by Michael Djukow, GWI, in 2018
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | consumer_count | 1 | Starting number of the table columns |
| Integer[:] | columns_el | {consumer_count + 1} | Columns of electricity table to be interpolated |
| Integer[:] | columns_heating | {consumer_count + 1} | Columns of heating table to be interpolated |
| Integer[:] | columns_dhw | {consumer_count + 1} | Columns of domestic hot water table to be interpolated |
| String | complete_relative_path_el | Functions.fullPathName(Modelica.Utilities.System.getEnvironmentVariable(environment_variable_name_el) + relativepath_el) | |
| String | complete_relative_path_heating | Functions.fullPathName(Modelica.Utilities.System.getEnvironmentVariable(environment_variable_name_heating) + relativepath_heating) | |
| String | complete_relative_path_dhw | Functions.fullPathName(Modelica.Utilities.System.getEnvironmentVariable(environment_variable_name_dhw) + relativepath_dhw) | |
| String | genericFileName_el | if use_absolute_path_el then absolute_path_el else complete_relative_path_el | |
| String | genericFileName_heating | if use_absolute_path_heating then absolute_path_heating else complete_relative_path_heating | |
| String | genericFileName_dhw | if use_absolute_path_dhw then absolute_path_dhw else complete_relative_path_dhw | |
| Scaling | |||
| Real | heatDemand | 1 | scaling factor for space heating demand of the consumer |
| Real | waterDemand | 1 | scaling factor for warm water demand of the consumer |
| Real | electricityDemand | 1 | scaling factor for electricity demand of the consumer |
| Data location | |||
| DataPrivacy | datasource_el | DataPrivacy.isPublic | Source of electricity table data |
| DataPrivacy | datasource_heating | DataPrivacy.isPublic | Source of heating table data |
| DataPrivacy | datasource_dhw | DataPrivacy.isPublic | Source of domestic hot water table data |
| String | environment_variable_name_el | if datasource_el == DataPrivacy.isPublic then Types.PUBLIC_DATA else Types.PRIVATE_DATA | |
| String | environment_variable_name_heating | if datasource_dhw == DataPrivacy.isPublic then Types.PUBLIC_DATA else Types.PRIVATE_DATA | |
| String | environment_variable_name_dhw | if datasource_heating == DataPrivacy.isPublic then Types.PUBLIC_DATA else Types.PRIVATE_DATA | |
| String | relativepath_el | "electricity/Household/ElectricityDemand_20Households_measured_3-4MWh_3600s.csv" | |
| String | relativepath_heating | "heat/Household/Heating_20Households_simulated_6MWh_3600s.csv" | |
| String | relativepath_dhw | "heat/Household/HotWater_VDI4655_60s.txt" | |
| Boolean | use_absolute_path_el | false | Should only be used for testing purposes |
| Boolean | use_absolute_path_heating | false | Should only be used for testing purposes |
| Boolean | use_absolute_path_dhw | false | Should only be used for testing purposes |
| String | absolute_path_el | "" | |
| String | absolute_path_heating | "" | |
| String | absolute_path_dhw | "" | |
| Basics | |||
| String | tableName_el | "default" | |
| String | tableName_heating | "default" | |
| String | tableName_dhw | "default" | |
| Table data interpretation | |||
| Modelica.Blocks.Types.Smoothness | smoothness | simCenter.tableInterpolationSmoothness | Smoothness of table interpolation |
| Modelica.Blocks.Types.Extrapolation | extrapolation | Modelica.Blocks.Types.Extrapolation.LastTwoPoints | Extrapolation of data outside the definition range |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Interfaces.Combined.HouseholdDemandOut | demand (from Demand_combined) | Electricity, space heating, water heating |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| TransiEnt.SimCenter | simCenter | ||
| Modelica.Blocks.Sources.CombiTimeTable | combiTimeTable_el | ||
| Modelica.Blocks.Sources.CombiTimeTable | combiTimeTable_heating | ||
| Modelica.Blocks.Sources.CombiTimeTable | combiTimeTable_dhw | ||
| Modelica.Blocks.Math.Gain | gain | ||
| Modelica.Blocks.Math.Gain | gain1 | ||
| Modelica.Blocks.Math.Gain | gain2 |