Buildings.DHC.ETS.Combined.Controls.BaseClasses
Package with base classes
Information
This package contains base classes that are used to construct the classes in Buildings.DHC.ETS.Combined.Controls.
Extends from Modelica.Icons.BasesPackage (Icon for packages containing base classes).
Package Content
Name | Description |
---|---|
PartialSupervisory | Partial model for supervisory controller |
Buildings.DHC.ETS.Combined.Controls.BaseClasses.PartialSupervisory
Partial model for supervisory controller
Information
This is a base class for the ETS supervisory controller.
Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).
Parameters
Type | Name | Default | Description |
---|---|---|---|
Integer | nSouAmb | Number of ambient sources to control |
Connectors
Type | Name | Description |
---|---|---|
input BooleanInput | uHea | Heating enable signal |
input BooleanInput | uCoo | Cooling enable signal |
input RealInput | TChiWatSupPreSet | Chilled water supply temperature set point [K] |
input RealInput | TChiWatBot | Chilled water temperature at tank bottom [K] |
input RealInput | THeaWatTop | Heating water temperature at tank top [K] |
input RealInput | THeaWatSupPreSet | Heating water supply temperature set point [K] |
output RealOutput | THeaWatSupSet | Heating water supply temperature set point after reset [K] |
output RealOutput | TChiWatSupSet | Chilled water supply temperature set point after reset [K] |
output RealOutput | yValIsoEva | Evaporator to ambient loop isolation valve control signal [1] |
output RealOutput | yValIsoCon | Condenser to ambient loop isolation valve control signal [1] |
output RealOutput | yAmb[nSouAmb] | Control output for ambient sources [1] |
output BooleanOutput | yHea | Tank in heating demand |
output BooleanOutput | yCoo | Tank in cooling demand |
Modelica definition
partial block PartialSupervisory
"Partial model for supervisory controller"
extends Modelica.Blocks.Icons.Block;
parameter Integer nSouAmb
"Number of ambient sources to control";
Buildings.Controls.OBC.CDL.Interfaces.BooleanInput uHea
"Heating enable signal";
Buildings.Controls.OBC.CDL.Interfaces.BooleanInput uCoo
"Cooling enable signal";
Buildings.Controls.OBC.CDL.Interfaces.RealInput TChiWatSupPreSet(
final unit="K",
displayUnit="degC")
"Chilled water supply temperature set point";
Buildings.Controls.OBC.CDL.Interfaces.RealInput TChiWatBot(
final unit="K",
displayUnit="degC")
"Chilled water temperature at tank bottom";
Buildings.Controls.OBC.CDL.Interfaces.RealInput THeaWatTop(
final unit="K",
displayUnit="degC")
"Heating water temperature at tank top";
Buildings.Controls.OBC.CDL.Interfaces.RealInput THeaWatSupPreSet(
final unit="K",
displayUnit="degC")
"Heating water supply temperature set point";
Buildings.Controls.OBC.CDL.Interfaces.RealOutput THeaWatSupSet(
final unit="K",
displayUnit="degC")
"Heating water supply temperature set point after reset";
Buildings.Controls.OBC.CDL.Interfaces.RealOutput TChiWatSupSet(
final unit="K",
displayUnit="degC")
"Chilled water supply temperature set point after reset";
Buildings.Controls.OBC.CDL.Interfaces.RealOutput yValIsoEva(
final unit="1")
"Evaporator to ambient loop isolation valve control signal";
Buildings.Controls.OBC.CDL.Interfaces.RealOutput yValIsoCon(
final unit="1")
"Condenser to ambient loop isolation valve control signal";
Buildings.Controls.OBC.CDL.Interfaces.RealOutput yAmb[nSouAmb](
each final unit="1")
"Control output for ambient sources";
Buildings.Controls.OBC.CDL.Interfaces.BooleanOutput yHea
"Tank in heating demand";
Buildings.Controls.OBC.CDL.Interfaces.BooleanOutput yCoo
"Tank in cooling demand";
Buildings.Controls.OBC.CDL.Logical.TrueFalseHold uHeaHol(
trueHoldDuration=900)
"Hold heating enable signal";
Buildings.Controls.OBC.CDL.Logical.TrueFalseHold uCooHol(
trueHoldDuration=900)
"Hold cooling enable signal";
equation
connect(uHea,uHeaHol.u);
connect(uCoo,uCooHol.u);
end PartialSupervisory;