modelBuildingWithPV

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

Overview

  • This model is a an example to show agent-based control with the provided library for a simple heating system
  • The system consists of two thermal zones, a boiler and a heating rod
  • With the help of a flexible cost function, the system prefers the heating rod when electricity comes from a PV panel for free and the boiler in all other cases
  • The agents used are two RoomAgents, two HeatProducerAgents, one Broker and one MessageNotification

Concept

The system has two heat sources, which are a boiler and a heating rod. The heating rod is connected to a PV system. During the times the PV panel is able to provide electricity, the cost function of the heating rod considers the electricity free. During all other times the boiler is more cost efficient than the heating rod and is selected for heat generation first.

This model was used to present the HVACAgentBasedControl library in [Roozbeh Sangi, Felix Bünning, Johannes Fütterer, Dirk Müller. A Platform for the Agent-based Control of HVAC Systems. Modelica Conference, 2017, Prague, Czech Republic]. For detailed information please refer to this source.

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealOutputcap1
Modelica.Blocks.Interfaces.RealOutputcap2
Modelica.Blocks.Interfaces.RealOutputvalve1
Modelica.Blocks.Interfaces.RealOutputvalve2
Modelica.Blocks.Interfaces.RealOutputT1
Modelica.Blocks.Interfaces.RealOutputT2
Modelica.Blocks.Interfaces.RealOutputT_return
Modelica.Blocks.Interfaces.RealOutputT_air
Modelica.Blocks.Interfaces.BooleanOutputelectricity_free
BoundaryConditions.WeatherData.BusweaBusWeather data bus

Components

TypeNameDefaultDescription
AixLib.Fluid.HeatExchangers.HeaterCooler_uhea
AixLib.Fluid.HeatExchangers.HeaterCooler_uhea1
AixLib.Fluid.Movers.FlowControlled_m_flowfan
AixLib.Fluid.MixingVolumes.MixingVolumevol
AixLib.Fluid.MixingVolumes.MixingVolumevol1
AixLib.Fluid.Actuators.Valves.TwoWayLinearval
AixLib.Fluid.Actuators.Valves.TwoWayLinearval1
HVACAgentBasedControl.Agents.Brokerbroker
HVACAgentBasedControl.Agents.HeatProducerAgentheatProducerAgent
AixLib.Controls.HVACAgentBasedControl.CostFunctions.Economic.Constant_Economic_CostconstantFactor
AixLib.Controls.HVACAgentBasedControl.CostFunctions.Economic.PV_Variable_Economic_CostvariableFactorPV
HVACAgentBasedControl.Agents.HeatProducerAgentheatProducerAgent1
Modelica.Blocks.Sources.RealExpressionzero
Modelica.Thermal.HeatTransfer.Sources.FixedHeatFlowfixedHeatFlow
HVACAgentBasedControl.Agents.RoomAgentroomAgent
HVACAgentBasedControl.Agents.RoomAgentroomAgent1
Modelica.Blocks.Continuous.LimPIDPID
Modelica.Blocks.Continuous.LimPIDPID1
Modelica.Blocks.Sources.RealExpressionzero1
Modelica.Blocks.Sources.RealExpressionzero2
Fluid.Sources.Boundary_pTbou
Modelica.Fluid.Systemsystem
AixLib.Fluid.Sensors.TemperaturesenTem
Modelica.Blocks.Logical.LessThresholdlessThreshold
Modelica.Blocks.Math.UnitConversions.To_degCto_degC
Modelica.Blocks.Math.UnitConversions.To_degCto_degC1
Modelica.Blocks.Math.UnitConversions.To_degCto_degC2
Modelica.Blocks.Math.UnitConversions.To_degCto_degC3
Modelica.Blocks.Logical.Andand1
Modelica.Blocks.Logical.Oror1
Modelica.Blocks.Logical.GreaterEqualThresholdgreaterEqualThreshold
HVACAgentBasedControl.Agents.MessageNotificationmessageNotification
BoundaryConditions.WeatherData.ReaderTMY3weaDatWeather data reader
ThermalZones.ReducedOrder.ThermalZone.ThermalZonethermalZone
ThermalZones.ReducedOrder.ThermalZone.ThermalZonethermalZone1
Modelica.Blocks.Sources.Constant[3]internalGains
Fluid.FixedResistances.HydraulicResistancehydraulicResistance1
Fluid.FixedResistances.HydraulicResistancehydraulicResistance

Contents

NameDescription
Medium

Revisions

  • July 2017, by Roozbeh Sangi: Documentation and model modified
  • November 2016, by Felix Bünning: Updated to use AixLib 0.3.2, included in HVACAgentBasedControl library
  • February 2016, by Felix Bünning: Developed and implemented