modelPIDPrescribedSingleMode
Information
Hypothesis and equations
This model assumes a PID control for intake of calories (heating) or frigories (cooling). The temperature setpoints are stored in a scenario text file.
Bibliography
none
Instructions for use
The text file or the setpoint temperatures table should contain in the first column the time in seconds, and in the second column the setpoint temperature in Kelvin.
An example of a setpoint temperature scenario is available : ConsigneChauffageRT2012_Kelvin.txt.
Two use cases :
- Ideal operation: the nominal power must be largely oversized to calculate cooling or heating needs, otherwise there is no guarantee that the installed power is sufficient to reach temperature setpoints.
- Real operation: the nominal power is the sizing power, which shows whether the dimensioning can meet the targeted setpoint temperatures.
Known limits / Use precautions
Warnings ! Setpoint temperatures in the text file, in the table or connected to the port T_sp depending on the cases, must be in Kelvin.
Validations
Validated model - Amy Lindsay 10/2013
--------------------------------------------------------------
Licensed by EDF under a 3-clause BSD-license
Copyright © EDF 2009 - 2023
BuildSysPro version 3.6.0
Author : Amy LINDSAY, EDF (2013)
--------------------------------------------------------------
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | PuissanceNom | 1000 | Power of heating or cooling system (always positive) |
| Integer | chaud_froid | 0 | 0 - heating, 1 - cooling |
| Setpoint entry mode | |||
| Boolean | saisieTableau | false | = false if the setpoint temperature is connected to a RealInput , = true if the setpoint temperature is defined in a table |
| Setpoint temperature scenario | |||
| Boolean | tableauSurFichier | false | = true, if the setpoint temperatures are indicated in a text file |
| Real[:,:] | tableau | [0, 292.15] | Table to define here if it's not done in a text file (first column = time in seconds, second column = setpoint temperature in Kelvin) - by default set to 19°C |
| String | nomTableau | "data" | Name of the table specified in the text file |
| String | nomFichier | Modelica.Utilities.Files.loadResource("modelica://BuildSysPro/Resources/Donnees/Scenarios/ConsigneChauffageRT2012_Kelvin.txt") | Location of the text file containing the setpoint temperatures table |
| Modelica.Blocks.Types.Smoothness | smoothness | Modelica.Blocks.Types.Smoothness.LinearSegments | Type of data interpolation in the table |
| Modelica.Blocks.Types.Extrapolation | extrapolation | Modelica.Blocks.Types.Extrapolation.HoldLastPoint | Setpoint temperature extrapolation outside the domain of definition of the table |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| BaseClasses.HeatTransfer.Interfaces.HeatPort_a | T_room | ||
| Modelica.Blocks.Interfaces.RealOutput | Pth | Thermal power demand | |
| Modelica.Blocks.Interfaces.RealOutput | kWh_th | Thermal kWh cumulated | |
| Modelica.Blocks.Interfaces.RealInput | T_sp | Setpoint temperature [K] |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Continuous.LimPID | PID | ||
| BaseClasses.HeatTransfer.Sources.PrescribedHeatFlow | prescribedHeatFlow | ||
| BaseClasses.HeatTransfer.Sensors.TemperatureSensor | temperatureSensor | ||
| Modelica.Blocks.Sources.CombiTimeTable | combiTimeTable1 | ||
| Modelica.Blocks.Continuous.Integrator | integrator | ||
| Modelica.Blocks.Math.Gain | gain |
Revisions
Modification en 10/2013 par A.Lindsay : les consignes de température ne doivent plus être renseignées en degrés Celsius mais en degrés Kelvin !!! Ajout de la possibilité de calculer les besoins de froid et non pas que les besoins de chaud
04/2014 A. Lindsay : modification du gain avant intégration pour bien obtenir des kWh !