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
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | NumberOfParticles | 1 | Number of mass/energy fragments |
| Integer[NumberOfParticles] | Charges | {1} | Elementary charges of particles |
| Types.ElectricCharge | Total | 1 | Total mass/energy if useTotalAsInput=false |
| Simulation › Simulation type | |||
| Types.SimulationType | Simulation (from SteadyStateSystem) | Dynamic with Initialization or Steady State | |
| Simulation › Equilibrium | |||
| Integer | NumberOfDependentStates (from SteadyStateSystem) | 1 | Number of additional steady state equation of the system |
| External inputs/outputs | |||
| Boolean | useTotalInput | false | =true, if total mass/energy is used as an input |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Types.RealIO.AmountOfSubstanceInput[NumberOfParticles] | fragment | Mass/Energy fragment | |
| Types.RealIO.ElectricChargeInput | total | t |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| 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.ElectricCharge | t | Current Mass/Energy |