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

TypeNameDefaultDescription
Integerconsumer_count1Starting 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
Stringcomplete_relative_path_elFunctions.fullPathName(Modelica.Utilities.System.getEnvironmentVariable(environment_variable_name_el) + relativepath_el)
Stringcomplete_relative_path_heatingFunctions.fullPathName(Modelica.Utilities.System.getEnvironmentVariable(environment_variable_name_heating) + relativepath_heating)
Stringcomplete_relative_path_dhwFunctions.fullPathName(Modelica.Utilities.System.getEnvironmentVariable(environment_variable_name_dhw) + relativepath_dhw)
StringgenericFileName_elif use_absolute_path_el then absolute_path_el else complete_relative_path_el
StringgenericFileName_heatingif use_absolute_path_heating then absolute_path_heating else complete_relative_path_heating
StringgenericFileName_dhwif use_absolute_path_dhw then absolute_path_dhw else complete_relative_path_dhw
Scaling
RealheatDemand1scaling factor for space heating demand of the consumer
RealwaterDemand1scaling factor for warm water demand of the consumer
RealelectricityDemand1scaling factor for electricity demand of the consumer
Data location
DataPrivacydatasource_elDataPrivacy.isPublicSource of electricity table data
DataPrivacydatasource_heatingDataPrivacy.isPublicSource of heating table data
DataPrivacydatasource_dhwDataPrivacy.isPublicSource of domestic hot water table data
Stringenvironment_variable_name_elif datasource_el == DataPrivacy.isPublic then Types.PUBLIC_DATA else Types.PRIVATE_DATA
Stringenvironment_variable_name_heatingif datasource_dhw == DataPrivacy.isPublic then Types.PUBLIC_DATA else Types.PRIVATE_DATA
Stringenvironment_variable_name_dhwif datasource_heating == DataPrivacy.isPublic then Types.PUBLIC_DATA else Types.PRIVATE_DATA
Stringrelativepath_el"electricity/Household/ElectricityDemand_20Households_measured_3-4MWh_3600s.csv"
Stringrelativepath_heating"heat/Household/Heating_20Households_simulated_6MWh_3600s.csv"
Stringrelativepath_dhw"heat/Household/HotWater_VDI4655_60s.txt"
Booleanuse_absolute_path_elfalseShould only be used for testing purposes
Booleanuse_absolute_path_heatingfalseShould only be used for testing purposes
Booleanuse_absolute_path_dhwfalseShould only be used for testing purposes
Stringabsolute_path_el""
Stringabsolute_path_heating""
Stringabsolute_path_dhw""
Basics
StringtableName_el"default"
StringtableName_heating"default"
StringtableName_dhw"default"
Table data interpretation
Modelica.Blocks.Types.SmoothnesssmoothnesssimCenter.tableInterpolationSmoothnessSmoothness of table interpolation
Modelica.Blocks.Types.ExtrapolationextrapolationModelica.Blocks.Types.Extrapolation.LastTwoPointsExtrapolation of data outside the definition range

Connectors

TypeNameDefaultDescription
Interfaces.Combined.HouseholdDemandOutdemand (from Demand_combined)Electricity, space heating, water heating

Components

TypeNameDefaultDescription
TransiEnt.SimCentersimCenter
Modelica.Blocks.Sources.CombiTimeTablecombiTimeTable_el
Modelica.Blocks.Sources.CombiTimeTablecombiTimeTable_heating
Modelica.Blocks.Sources.CombiTimeTablecombiTimeTable_dhw
Modelica.Blocks.Math.Gaingain
Modelica.Blocks.Math.Gaingain1
Modelica.Blocks.Math.Gaingain2