modelPV_Variable_Economic_Cost

Extends from HVACAgentBasedControl.BaseClasses.PartialCostFunction.

Information

Overview

  • This model calculates the economic cost for PV systems based on the capacity and the variable solar radiation input.

Parameters

TypeNameDefaultDescription
Realp0.30Price per kWh of fuel
Realeta0.95thermal efficiency of the device
Realrad_treshold310Treshold when electricity is free

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputcapacity (from PartialCostFunction)Input to connect with ProducerAgent
Modelica.Blocks.Interfaces.RealOutputcost (from PartialCostFunction)Output to connect with ProducerAgent
Modelica.Blocks.Interfaces.RealInputradInput for solar radiation
Modelica.Blocks.Interfaces.BooleanOutputelectricity_freeIndicator if electricity is considered free

Components

TypeNameDefaultDescription
Modelica.Blocks.Logical.GreaterEqualThresholdlessEqualThreshold
Modelica.Clocked.RealSignals.Sampler.SampleClockedsample1
Modelica.Clocked.ClockSignals.Clocks.PeriodicRealClockperiodicClock1
Modelica.Clocked.RealSignals.Sampler.Holdhold1
Modelica.Blocks.Math.Productproduct
Modelica.Blocks.Logical.Switchswitch1
Modelica.Blocks.Sources.RealExpressionrealExpression
Modelica.Blocks.Sources.RealExpressionrealExpression1

Revisions

  • December 2015, by Felix Bünning: Developed and implemented