Physiolibrary.Population.Components

Information

Extends from Modelica.Icons.Package (Icon for standard packages).

Package Content

Name Description
Physiolibrary.Population.Components.Population Population  
Physiolibrary.Population.Components.Reproduction Reproduction As population change per one individual
Physiolibrary.Population.Components.Mortality Mortality As population change per one individual
Physiolibrary.Population.Components.Stream Stream As population change per one individual
Physiolibrary.Population.Components.Change Change  

Physiolibrary.Population.Components.Population Physiolibrary.Population.Components.Population


Physiolibrary.Population.Components.Population

Information

Extends from Icons.Population, SteadyStates.Interfaces.SteadyState (Abstract class for any dynamic state calculation (for any derivation), which is driven by SimulationType option.).

Parameters

TypeNameDefaultDescription
Initialization
Populationpopulation_start1e-8Initial population size in compartment [1]
IO
Functions to read or store
replaceable package UtilitiesTypes.FilesUtilities (direct...How to store or load the values
Initialization
Realstate_startpopulation_startState start or init value
Value I/O
StringstoreUnit"1"Unit in Utilities input/output function
StringstateNamegetInstanceName()Name in Utilities input/output function
BooleanLOAD_STARTSfalseLoad start value of state
BooleanSAVE_RESULTSfalseSave final state values
BooleanSAVE_COMPARISONfalseCompare final state values with original values
Equilibrium
Simulation
SimulationTypeSimulationTypes.SimulationType.NormalI...Dynamic with Initialization or Steady State
BooleanisDependentfalse=true, If zero flow is propagated in eqiulibrium through resistors, impedances, reactions, etc.
Solver
Numerical support of very huge populations
PopulationNominalPopulation1Numerical scale. Default is 1, but for huge amount of cells it should be any number in the appropriate numerical order of typical amount. [1]
Numerical support of very fast or very slow changes
PopulationChangeNominalPopulationChange1/(60*60*24)Numerical scale. Default change is 1 individual per day, but for much faster or much slower chnages should be different. [1/s]

Connectors

TypeNameDescription
PopulationPort_bport 
output PopulationOutputpopulation[1]

Modelica definition

model Population extends Icons.Population; extends SteadyStates.Interfaces.SteadyState( state(nominal=NominalPopulation), change(nominal=NominalPopulationChange), state_start=population_start, storeUnit="1"); parameter Types.Population population_start(nominal=NominalPopulation) = 1e-8 "Initial population size in compartment"; parameter Types.Population NominalPopulation = 1 "Numerical scale. Default is 1, but for huge amount of cells it should be any number in the appropriate numerical order of typical amount."; parameter Types.PopulationChange NominalPopulationChange = 1/(60*60*24) "Numerical scale. Default change is 1 individual per day, but for much faster or much slower chnages should be different."; Interfaces.PopulationPort_b port(population(nominal=NominalPopulation),change(nominal=NominalPopulationChange)); Types.RealIO.PopulationOutput population(nominal=NominalPopulation); equation port.population = population; state = population; //der(population) = port.change; change = port.change; end Population;

Physiolibrary.Population.Components.Reproduction Physiolibrary.Population.Components.Reproduction

As population change per one individual

Physiolibrary.Population.Components.Reproduction

Information

Extends from Interfaces.ConditionalLifeTime (Input of population change per one population member vs. parametric lifetime).

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]
PopulationPort_bport_b 

Modelica definition

model Reproduction "As population change per one individual" extends Interfaces.ConditionalLifeTime; Interfaces.PopulationPort_b port_b; equation port_b.change = - changePerPopulationMember * port_b.population; end Reproduction;

Physiolibrary.Population.Components.Mortality Physiolibrary.Population.Components.Mortality

As population change per one individual

Physiolibrary.Population.Components.Mortality

Information

Extends from Interfaces.ConditionalLifeTime (Input of population change per one population member vs. parametric lifetime).

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]
PopulationPort_aport_a 

Modelica definition

model Mortality "As population change per one individual" extends Interfaces.ConditionalLifeTime; Interfaces.PopulationPort_a port_a; equation port_a.change = changePerPopulationMember*port_a.population; end Mortality;

Physiolibrary.Population.Components.Stream Physiolibrary.Population.Components.Stream

As population change per one individual

Physiolibrary.Population.Components.Stream

Information

Extends from Interfaces.OnePort (Partial change of population between two ports without its accumulation), Interfaces.ConditionalLifeTime (Input of population change per one population member vs. parametric lifetime).

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
PopulationPort_bport_b 
PopulationPort_aport_a 
input PopulationChangePerMemberInputchangePerMember[1/s]

Modelica definition

model Stream "As population change per one individual" extends Interfaces.OnePort; extends Interfaces.ConditionalLifeTime; equation port_a.change = if (changePerPopulationMember>0) then changePerPopulationMember*port_a.population else changePerPopulationMember*port_b.population; end Stream;

Physiolibrary.Population.Components.Change Physiolibrary.Population.Components.Change


Physiolibrary.Population.Components.Change

Information

Extends from Interfaces.OnePort (Partial change of population between two ports without its accumulation), Interfaces.ConditionalChange (Input of population change vs. parametric constant change).

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
PopulationPort_bport_b 
PopulationPort_aport_a 
input PopulationChangeInputpopulationChange[1/s]

Modelica definition

model Change extends Interfaces.OnePort; extends Interfaces.ConditionalChange; equation port_a.change = change; end Change;

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