You are on page 1of 33

OverviewofModelicabased

HVAC&Controlmodels
ForModelTransformation
fromResearchtoPractice

Jia,Zile
IBKTUDresden
EnTool 2013Dresden,Germany

CurrentModelica
HVAC&Control
models

Connector

Media

Hierarchical
structure

Initialvalue

suitable
Practice?

Connector

Media

Hierarchical
structure

Initialvalue

connection

ATplus v2.1
Energyequilibrium
Momentumequilibrium
Massequilibrium

ATplus v2.1
FreeBuildingSimulationandBuildingControl(fuzzycontrollibraryincluded).
See:Felgner F.,Agustina S.,Cladera R.,Merz R.,andLitz L.,
SimulationofThermalBuildingBehaviour inModelica,
2ndInternationalModelicaConference,Proceedings,pp.147154

Buildings 1.4/ModelicaStandardLibrary(Version3.2)

MichaelWetter
LawrenceBerkeleyNationalLaboratory
http://simulationresearch.lbl.gov/modelica.

BuildingSystems

TheBuildingSystems libraryisafreeopensourcelibraryformodelingcomplexsystemmodelsof
buildingsandtheirenergysupplysystems.Thewebpageforthislibraryishttp://www.modelica
buildingsystems.de.
ThefollowingpeoplehavedirectlycontributedtotheimplementationoftheBuildingSystems
library
Joerg Huber,UdK Berlin,Germany
ManuelLjubijankic,UdK Berlin,Germany
ChristophNytschGeusen,UdK Berlin,germany
Joerg Raedler,UdK Berlin,Germany

IEAAnnex60
Activity1.1:Modelicamodellibraries
ideas

building
Systems

buildings

Unification

HVAC

connector

standard

ida

Connector

Media

Hierarchical
structure

Initialvalue

Media
Function
Selfdefined
thermohydraulic
media

Equations
(partialmodel)

Media
Publicmedia
library

MSLMedia

MSLmedialibrary

MSLmedialibrary

MSLmedialibrary

Thislibrarycontainsinterface definitionsformediaandthefollowing
property modelsforsingleandmultiplesubstancefluidswithoneand
multiplephases:
Idealgases:
1241highprecisiongasmodelsbasedontheNASAGlenncoefficients,
plusidealgasmixturemodelsbasedonthesamedata.
Watermodels:
ConstantPropertyLiquidWater,WaterIF97(highprecisionwatermodel
accordingtotheIAPWS/IF97standard)
Airmodels:
Powerful
SimpleAir,DryAirNasa,andMoistAir
Incompressiblemedia:
But
TableBased incompressiblefluidmodels(propertiesaredefinedbytables
rho(T),HeatCapacity_cp(T),etc.)
Complex
Compressibleliquids:
Simpleliquidmodelswithlinearcompressibility

Publicmedialibrary
ModelicaSimulationEnvironments(inalphabeticalorder)

ByCyDesign Labs (formerly


deltatheta):
CyModelica
Vertex
Converge

ByDassault Systmes:

OPTIMICAStudio

ByITIGmbH:
SimulationX

ByLMS:
LMSImagine.Lab AMESim

ByWolfram:
WolframSystemModeler

ByFraunhofer FIRST:
MOSILAB

BySuzhouTongyuan
MWorks

Dymola

ByModelon AB

ByMaplesoft:
MapleSim

Modelica.org
Modelicac
OpenModelica:
SimForge

Selfdefinedthermohydraulicmedia
Function UdK Berlin

Selfdefinedthermohydraulicmedia
Equations(partialmodel)

Function
Selfdefined
thermohydraulic
media

Equations
(partialmodel)

Media
Publicmedia
library

MSLMedia

Connector

Media

Hierarchical
structure

Initialvalue

Alargesystemcanbedecomposedon
multiplesubsystemstreatedseparatelyand
reassembledafterthatbyconnections.
Hierarchicalmodelconstructiontomanage
thecomplexityoflargesystems.

Hierarchy
(manage
complexsystems,
codereuse)

Equationbased
(physical
meaning)

Connector

Media

Hierarchical
structure

Initialvalue

Dynamics

Meaning

DynamicFreeInitial

Dynamicbalance,Initialguessvalue

FixedInitial

Dynamicbalance,Initialvaluefixed

SteadyStateInitial

Dynamicbalance,Steadystateinitialwith
guessvalue

SteadyState

Steadystatebalance,Initialguessvalue

Dynamics.

Balanceequation

Initialcondition

DynamicFreeInitial

norestrictions

noinitialconditions

FixedInitial

norestrictions

T=T_start orh=h_start

SteadyStateInitial

norestrictions

der(T)=0order(h)=0

SteadyState

der(U)=0

noinitialconditions

FixedInitial

T=T_start or
h=h_start

SteadyState

Initialguessvalue

Limited
information

Guessvalue
Fromdata
base

Demonstrated
project

Multiplereturnvalue

Limited
information
duringearly
design

Preventone
of
meaningless
Multiple
returnvalues

Useinitial
value

connectorHeatPort
SIunits.Temperature T;
flowSIunits.HeatFlowRate Q_flow ;
endHeatPort;

FMU
HVAC+Control in Modelica

NANDRAD
(C++)

OverviewofModelicabased
HVAC&Controlmodels

Connector

Media

Hierarchical
structure

Initialvalue

ForModelTransformation
fromResearchtoPractice

Jia,Zile
IBKTUDresden
EnTool 2013Dresden,Germany