Physiolibrary.Population.Interfaces

Information

Extends from Modelica.Icons.InterfacesPackage (Icon for packages containing interfaces).

Package Content

Name Description
Physiolibrary.Population.Interfaces.PopulationPort PopulationPort Average number of population members and their change
Physiolibrary.Population.Interfaces.PopulationPort_a PopulationPort_a Increase (or decrease) of population
Physiolibrary.Population.Interfaces.PopulationPort_b PopulationPort_b Decrease (or increase) of population
Physiolibrary.Population.Interfaces.OnePort OnePort Partial change of population between two ports without its accumulation
Physiolibrary.Population.Interfaces.ConditionalChange ConditionalChange Input of population change vs. parametric constant change
Physiolibrary.Population.Interfaces.ConditionalLifeTime ConditionalLifeTime Input of population change per one population member vs. parametric lifetime

Physiolibrary.Population.Interfaces.PopulationPort

Average number of population members and their change

Contents

TypeNameDescription
PopulationpopulationAverage number of population individuals [1]
flow PopulationChangechangeAverage population change = change of population individuals [1/s]

Modelica definition

connector PopulationPort "Average number of population members and their change" Types.Population population "Average number of population individuals"; flow Types.PopulationChange change "Average population change = change of population individuals"; end PopulationPort;

Physiolibrary.Population.Interfaces.PopulationPort_a Physiolibrary.Population.Interfaces.PopulationPort_a

Increase (or decrease) of population

Physiolibrary.Population.Interfaces.PopulationPort_a

Information

Connector with one flow signal of type Real.

Extends from PopulationPort (Average number of population members and their change).

Contents

TypeNameDescription
PopulationpopulationAverage number of population individuals [1]
flow PopulationChangechangeAverage population change = change of population individuals [1/s]

Modelica definition

connector PopulationPort_a "Increase (or decrease) of population" extends PopulationPort; end PopulationPort_a;

Physiolibrary.Population.Interfaces.PopulationPort_b Physiolibrary.Population.Interfaces.PopulationPort_b

Decrease (or increase) of population

Physiolibrary.Population.Interfaces.PopulationPort_b

Information

Connector with one flow signal of type Real.

Extends from PopulationPort (Average number of population members and their change).

Contents

TypeNameDescription
PopulationpopulationAverage number of population individuals [1]
flow PopulationChangechangeAverage population change = change of population individuals [1/s]

Modelica definition

connector PopulationPort_b "Decrease (or increase) of population" extends PopulationPort; end PopulationPort_b;

Physiolibrary.Population.Interfaces.OnePort Physiolibrary.Population.Interfaces.OnePort

Partial change of population between two ports without its accumulation

Physiolibrary.Population.Interfaces.OnePort

Connectors

TypeNameDescription
PopulationPort_bport_b 
PopulationPort_aport_a 

Modelica definition

partial model OnePort "Partial change of population between two ports without its accumulation" PopulationPort_b port_b; PopulationPort_a port_a; equation port_a.change + port_b.change = 0; end OnePort;

Physiolibrary.Population.Interfaces.ConditionalChange Physiolibrary.Population.Interfaces.ConditionalChange

Input of population change vs. parametric constant change

Physiolibrary.Population.Interfaces.ConditionalChange

Parameters

TypeNameDefaultDescription
PopulationChangePopulationChange0Population change if useChangeInput=false [1/s]
External inputs/outputs
BooleanuseChangeInputfalse=true, if real input connector is used instead of parameter PopulationChange

Connectors

TypeNameDescription
input PopulationChangeInputpopulationChange[1/s]

Modelica definition

partial model ConditionalChange "Input of population change vs. parametric constant change" parameter Boolean useChangeInput = false "=true, if real input connector is used instead of parameter PopulationChange"; parameter Types.PopulationChange PopulationChange=0 "Population change if useChangeInput=false"; Types.RealIO.PopulationChangeInput populationChange(start=PopulationChange)=change if useChangeInput; Types.PopulationChange change "Current population change"; equation if not useChangeInput then change = PopulationChange; end if; end ConditionalChange;

Physiolibrary.Population.Interfaces.ConditionalLifeTime Physiolibrary.Population.Interfaces.ConditionalLifeTime

Input of population change per one population member vs. parametric lifetime

Physiolibrary.Population.Interfaces.ConditionalLifeTime

Parameters

TypeNameDefaultDescription
TimeLifeTime1e-8Mean life time for population (=1.44*halftime) if useChangePerMember=false [s]
External inputs/outputs
BooleanuseChangePerMemberInputfalse=true, if real input connector is used instead of parameter LifeTime

Connectors

TypeNameDescription
input PopulationChangePerMemberInputchangePerMember[1/s]

Modelica definition

partial model ConditionalLifeTime "Input of population change per one population member vs. parametric lifetime" parameter Boolean useChangePerMemberInput = false "=true, if real input connector is used instead of parameter LifeTime"; parameter Types.Time LifeTime=1e-8 "Mean life time for population (=1.44*halftime) if useChangePerMember=false"; Types.RealIO.PopulationChangePerMemberInput changePerMember(start=1/LifeTime)=changePerPopulationMember if useChangePerMemberInput; Types.PopulationChangePerMember changePerPopulationMember "Current population change per individual"; equation if not useChangePerMemberInput then changePerPopulationMember = 1/LifeTime; end if; end ConditionalLifeTime;

Automatically generated Tue Sep 15 22:53:55 2015.