modelElementaryChargeConservationLaw

System amount of electric charge (=number of elementary charges) conservation law

Extends from SteadyStates.Interfaces.SteadyStateSystem (Global abstract class, for additional global state equations), Icons.ConservationLaw.

Information

Parameters

TypeNameDefaultDescription
IntegerNumberOfParticles1Number of mass/energy fragments
Integer[NumberOfParticles]Charges{1}Elementary charges of particles
Types.ElectricChargeTotal1Total mass/energy if useTotalAsInput=false
Simulation › Simulation type
Types.SimulationTypeSimulation (from SteadyStateSystem)Dynamic with Initialization or Steady State
Simulation › Equilibrium
IntegerNumberOfDependentStates (from SteadyStateSystem)1Number of additional steady state equation of the system
External inputs/outputs
BooleanuseTotalInputfalse=true, if total mass/energy is used as an input

Connectors

TypeNameDefaultDescription
Types.RealIO.AmountOfSubstanceInput[NumberOfParticles]fragmentMass/Energy fragment
Types.RealIO.ElectricChargeInputtotalt

Components

TypeNameDefaultDescription
Real[NumberOfDependentStates]normalizedState (from SteadyStateSystem)Normalized independent masses of the system/Normalized independent energies of the system/... This variables must always equals to ones.
Types.ElectricChargetCurrent Mass/Energy