ModelSettingsSetting important global variables within a model |
This information is part of the Business Simulation Library (BSL). Please support this work and ► donate.
This class should be placed in the top level scope of any simulation model. It will automatically be assigned the prefix inner
as it provides global parameters for the model.
modelTimeHorizon |
Value: 10 Type: Time (s) Description: The time horizon for the model (i.e., stopTime - startTime) |
---|---|
modelStartTime |
Value: Type: Time (s) Description: Start time of the model (will be automatically determined) |
modelStopTime |
Value: Type: Time (s) Description: Stop time of the model (will be determined from startTime and modelTimeHorizon) |
dt |
Value: 0.25 Type: Time (s) Description: Smallest possible interval of time for compatibility with conventional fixed-step system dynamics models |
samplingPeriod |
Value: dt / 4 Type: Time (s) Description: Default sampling period for discrete model components (should be ≤ dt/4) |
init |
Value: BusinessSimulation.Types.InitializationOptions.FixedValue Type: InitializationOptions Description: Provide InitializationOptions (Free, FixedValue, SteadyState) as global default |
BusinessSimulation.Examples A first example |
|
BusinessSimulation.Examples Extending the first example to include replacement purchases |
|
BusinessSimulation.Examples Further extending the first example to explain new product diffusion |
|
BusinessSimulation.Examples Classical epidemic model by Kermack and McKendrick |
|
BusinessSimulation.Examples Romeo and Juliet model as introduced by Strogatz |
|
BusinessSimulation.Examples Predator-prey dynamics |
|
LotkaVolterraEquationsRevisited BusinessSimulation.Examples Predator-prey dynamics with an additional predator |
|
BusinessSimulation.Examples Human resource planning |
|
BusinessSimulation.Examples Modeling a production process |
|
BusinessSimulation.Examples Showcase of lookup-functions |
|
BusinessSimulation.Examples Causal loop model of world dynamics |
|
BusinessSimulation.Examples Causal loop example given by van Zijderveld (MARVEL) |
|
BusinessSimulation.Converters.DiscreteDelay Pipeline information delay with awareness |
BusinessSimulation.CausalLoop Directly set information using a ramp input profile |
|
BusinessSimulation.CausalLoop Directly influencing a stock to keep it at setpoint value |
|
BusinessSimulation.CausalLoop Directly influencing a stock to keep it at setpoint value |
|
BusinessSimulation.CausalLoop Process driven by elasticity and additional exponential delay |
|
BusinessSimulation.CausalLoop Process driven by proportionality with additional exponential delay |
|
BusinessSimulation.CausalLoop Flow is obtained as closing the gap to input value |
|
BusinessSimulation.CausalLoop Flow is obtained as closing the gap to input stock value |
|
BusinessSimulation.CausalLoop Exponential delay of input flow |
|
BusinessSimulation.CausalLoop Fixed or pure delay of input flow |
|
BusinessSimulation.CausalLoop Table-based lookup given on file |
|
BusinessSimulation.Stocks Material delay of n-th Order |
|
BusinessSimulation.Stocks Conveyor (aka pipeline delay) with constant delay time and no leakage |
|
BusinessSimulation.Stocks Conveyor delay (aka pipeline ~) with variable delay time |
|
BusinessSimulation.Stocks Delay the flow of material for a fixed (but variable) delay time |
|
BusinessSimulation.Stocks Batch processing of inflow (aka batch delay) |
|
BusinessSimulation.Converters.DiscreteDelay Pipeline information delay without awareness |
|
BusinessSimulation.Converters.DiscreteDelay Ideal periodic sampler of input |
|
BusinessSimulation.Converters.DiscreteDelay Samples input, if Boolean trigger is true |
|
BusinessSimulation.Converters.DiscreteDelay First-order exponential smooth |
|
BusinessSimulation.Converters.DiscreteDelay N-th order exponential smooth with constant averaging time |
|
BusinessSimulation.Converters.DiscreteDelay A smooth with different delay times for positive and negative changes |
|
BusinessSimulation.Converters.DiscreteDelay Higher order smooth with different delay times for positive and negative changes |
|
BusinessSimulation.Converters.Lookup Table function defined by external data on file using Modelica's CombiTable format |
|
BusinessSimulation.Converters.Lookup Table function for vector input and output using Modelica's CombiTable format |
|
BusinessSimulation.Converters Limit any time input to be no smaller than dt |
|
BusinessSimulation.Converters Enable user input, if gaming mode is activated |
|
BusinessSimulation.Converters Converts a rate given per time base A to a rate per time base B |
|
BusinessSimulation.Converters Converts a time signal from time base A to time base B |
|
BusinessSimulation.InformationSources Reading external data from a file using Modelica's CombiTimeTable format (MCTT) |
|
BusinessSimulation.InformationSources Clock to provide time-signal |
|
BusinessSimulation.InformationSources Clock to provide time-signal in a different time base |
|
BusinessSimulation.MoleculesOfStructure.InformationProcessing Calculating a fractional rate of change to be used in forecasting |
|
BusinessSimulation.MoleculesOfStructure.Policy Determine the rate of flow (action) to close a gap between a quantity and its desired value |
|
BusinessSimulation.MoleculesOfStructure.Policy Maintain a stock at a desired level |
|
BusinessSimulation.MoleculesOfStructure.Blocks Modeling the influence of excessive workloads on productivity or quality |
|
BusinessSimulation.MoleculesOfStructure.Blocks Unit cost degression due to gaining experience |
|
BusinessSimulation.MoleculesOfStructure.Incubators Basic model of an account with optional interest |
|
BusinessSimulation.MoleculesOfStructure.Incubators A reservoir that aggregates multiple stock ports |
|
BusinessSimulation.MoleculesOfStructure.Transceivers A single stock drained by an outflow at a given rate |
|
BusinessSimulation.Interfaces.PartialConverters Partial SISO converter class with input and output conversions for lookup functions |
|
BusinessSimulation.Interfaces.PartialStocks Unrestricted reservoir to store information |
|
BusinessSimulation.Interfaces.PartialCLD Partial class for flow port with timing |
modelDisplayTimeBase
, changed to constant variability in v2.0.0.Evaluate = true
to dt
to make this a structrual parameter in v2.1.0.