├── .gitattributes
├── .github
└── FUNDING.yml
├── .gitignore
├── BusinessSimulation
├── CausalLoop
│ ├── Aggregation.mo
│ ├── Aggregation_Info.mo
│ ├── ComplexInteraction.mo
│ ├── Elasticity.mo
│ ├── ElasticityDelayed.mo
│ ├── ExponentialChange.mo
│ ├── ExponentialDelay.mo
│ ├── ForceToInputValue.mo
│ ├── ForceToStockValue.mo
│ ├── InfoFlowIndicator.mo
│ ├── InputControl.mo
│ ├── LinearChange.mo
│ ├── LogisticGrowth.mo
│ ├── Lookup_JNegative.mo
│ ├── Lookup_JPositive.mo
│ ├── Lookup_SNegative.mo
│ ├── Lookup_SPositive.mo
│ ├── Lookup_Table.mo
│ ├── Lookup_TableOnFile.mo
│ ├── LoopIndicator_CCW.mo
│ ├── LoopIndicator_CW.mo
│ ├── MatFlowIndicator.mo
│ ├── PID_Control.mo
│ ├── Performance.mo
│ ├── PipelineDelay.mo
│ ├── Product.mo
│ ├── Proportionality.mo
│ ├── ProportionalityDelayed.mo
│ ├── RateInformation.mo
│ ├── SimpleControl.mo
│ ├── SimpleInformationLevel.mo
│ ├── SimpleMaterialStock.mo
│ ├── SketchVariable.mo
│ ├── SplitFlow.mo
│ ├── StockInformation.mo
│ ├── Total.mo
│ ├── UnidirectionalFlow.mo
│ ├── package.mo
│ └── package.order
├── Constants
│ ├── package.mo
│ └── package.order
├── Converters
│ ├── Abs.mo
│ ├── AccumulationFunction.mo
│ ├── Add_2.mo
│ ├── Add_3.mo
│ ├── Clip.mo
│ ├── ClipProcessTime.mo
│ ├── ConstantConverter.mo
│ ├── ConstantConverterRate.mo
│ ├── ConstantConverterTime.mo
│ ├── DiscreteDelay
│ │ ├── AsymmetricSmooth.mo
│ │ ├── AsymmetricSmoothN.mo
│ │ ├── DelayFixed.mo
│ │ ├── DelayInformation.mo
│ │ ├── SampleIfTrue.mo
│ │ ├── Sampler.mo
│ │ ├── Smooth.mo
│ │ ├── SmoothN.mo
│ │ ├── package.mo
│ │ └── package.order
│ ├── Disruption.mo
│ ├── Division.mo
│ ├── Division_Guarded.mo
│ ├── DmnlInput.mo
│ ├── Exp.mo
│ ├── ForceOfInterest.mo
│ ├── Gain.mo
│ ├── GameInput.mo
│ ├── Gap.mo
│ ├── Log.mo
│ ├── Logical
│ │ ├── AllTrue.mo
│ │ ├── And.mo
│ │ ├── AnyTrue.mo
│ │ ├── Boole.mo
│ │ ├── ConstantConverterBoolean.mo
│ │ ├── Greater.mo
│ │ ├── GreaterEqual.mo
│ │ ├── Less.mo
│ │ ├── LessEqual.mo
│ │ ├── NoneTrue.mo
│ │ ├── Not.mo
│ │ ├── NotZero.mo
│ │ ├── Or.mo
│ │ ├── Switch.mo
│ │ ├── SwitchN.mo
│ │ ├── Threshold.mo
│ │ ├── Xor.mo
│ │ ├── package.mo
│ │ └── package.order
│ ├── Lookup
│ │ ├── ConcaveLookupNegative.mo
│ │ ├── ConcaveLookupPositive.mo
│ │ ├── ConvexLookupNegative.mo
│ │ ├── ConvexLookupPositive.mo
│ │ ├── JanoschekNegative.mo
│ │ ├── JanoschekPositive.mo
│ │ ├── PerformanceIndicator.mo
│ │ ├── SShapedNegative.mo
│ │ ├── SShapedPositive.mo
│ │ ├── TableFunction.mo
│ │ ├── TableFunctionVector.mo
│ │ ├── package.mo
│ │ └── package.order
│ ├── Max.mo
│ ├── Min.mo
│ ├── PassThrough.mo
│ ├── PolynomialFunction.mo
│ ├── PolynomialFunctionDivisor.mo
│ ├── PolynomialFunctionFactor.mo
│ ├── Power.mo
│ ├── Product_2.mo
│ ├── Product_3.mo
│ ├── RateConversion.mo
│ ├── Rescale.mo
│ ├── SoftMax.mo
│ ├── SoftMin.mo
│ ├── Special
│ │ ├── RangeAssert.mo
│ │ ├── VariableRangeAssert.mo
│ │ ├── package.mo
│ │ └── package.order
│ ├── TimeConversion.mo
│ ├── Vector
│ │ ├── ArithmeticMean.mo
│ │ ├── Clip.mo
│ │ ├── ComplementFractions.mo
│ │ ├── ConstantConverter.mo
│ │ ├── ConstantConverterRate.mo
│ │ ├── ConstantConverterTime.mo
│ │ ├── DotProduct.mo
│ │ ├── GeometricMean.mo
│ │ ├── Max.mo
│ │ ├── Min.mo
│ │ ├── Product.mo
│ │ ├── ProportionalSplitFactors.mo
│ │ ├── Rescale.mo
│ │ ├── ScalarMultiplication.mo
│ │ ├── Sum.mo
│ │ ├── Times.mo
│ │ ├── Total.mo
│ │ ├── package.mo
│ │ └── package.order
│ ├── ZeroIfNegative.mo
│ ├── package.mo
│ └── package.order
├── Examples
│ ├── AssemblyLine.mo
│ ├── HealTheWorld.mo
│ ├── LookupFunctions.mo
│ ├── LotkaVolterraEquationsRevisited.mo
│ ├── LotkaVolterraSystems.mo
│ ├── LoveHateDynamics.mo
│ ├── ManagingEmployment.mo
│ ├── SIR.mo
│ ├── SimpleProductionChain.mo
│ ├── SimpleProductionChainII.mo
│ ├── SimpleProductionChainIII.mo
│ ├── SoftwareReleaseProject.mo
│ ├── package.mo
│ └── package.order
├── Flows
│ ├── Bidirectional
│ │ ├── ProportionalSwitching.mo
│ │ ├── Switching.mo
│ │ ├── package.mo
│ │ └── package.order
│ ├── Interaction
│ │ ├── BrokenTransition.mo
│ │ ├── BrokenTransitionPull.mo
│ │ ├── ComplexInteraction.mo
│ │ ├── LinearInteraction.mo
│ │ ├── LotkaVolterra.mo
│ │ ├── NonlinearInteraction.mo
│ │ ├── package.mo
│ │ └── package.order
│ ├── Unidirectional
│ │ ├── CheckValveInflow.mo
│ │ ├── CheckValveOutflow.mo
│ │ ├── Decay.mo
│ │ ├── OutflowDynamicStock.mo
│ │ ├── ProportionalTransition.mo
│ │ ├── SplitOutflowDynamicStock.mo
│ │ ├── Transition.mo
│ │ ├── package.mo
│ │ └── package.order
│ ├── package.mo
│ └── package.order
├── Functions
│ ├── UtilityFunctions
│ │ ├── findClearAttrac.mo
│ │ ├── package.mo
│ │ └── package.order
│ ├── allTrueQ.mo
│ ├── allocateAvailable.mo
│ ├── allocateExtremeValue.mo
│ ├── allocateNormal.mo
│ ├── allocateTriangular.mo
│ ├── allocateUniform.mo
│ ├── allocatedAmounts.mo
│ ├── areaLineSegment.mo
│ ├── arithmeticMean.mo
│ ├── bitShiftRight.mo
│ ├── boole.mo
│ ├── clip.mo
│ ├── constrainedRate.mo
│ ├── constrainedRateBoolean.mo
│ ├── evalmf.mo
│ ├── gaussmf.mo
│ ├── gbellmf.mo
│ ├── geometricMean.mo
│ ├── hunt.mo
│ ├── interpolate.mo
│ ├── janoschek.mo
│ ├── locate.mo
│ ├── noneTrueQ.mo
│ ├── normalizationConstant.mo
│ ├── normalizePLpdf.mo
│ ├── notZeroQ.mo
│ ├── package.mo
│ ├── package.order
│ ├── pimf.mo
│ ├── plCDF.mo
│ ├── polynomialFunction.mo
│ ├── psigmf.mo
│ ├── rampmf.mo
│ ├── rawInterpolate.mo
│ ├── rescale.mo
│ ├── rescaleVector.mo
│ ├── shiftList.mo
│ ├── sigmf.mo
│ ├── smf.mo
│ ├── stringToTimeBase.mo
│ ├── trapmf.mo
│ └── trimf.mo
├── Icons
│ ├── ActuatorsPackage
│ │ └── package.mo
│ ├── BasesPackage
│ │ └── package.mo
│ ├── BidirectionalFlow.mo
│ ├── BlocksPackage
│ │ └── package.mo
│ ├── CapacityLabel.mo
│ ├── CausalLoopPackage
│ │ └── package.mo
│ ├── Clockface.mo
│ ├── Clockface_white.mo
│ ├── ClockwiseLoop.mo
│ ├── ComponentName.mo
│ ├── ConnectorsPackage
│ │ └── package.mo
│ ├── ConstantConverter.mo
│ ├── ConstantConverterName.mo
│ ├── ConstantsPackage
│ │ └── package.mo
│ ├── Converter.mo
│ ├── ConverterName.mo
│ ├── Conveyor.mo
│ ├── CounterClockwiseLoop.mo
│ ├── DataBus.mo
│ ├── DataInPort.mo
│ ├── DataOutPort.mo
│ ├── DelayN.mo
│ ├── DiscreteSmoothLabel.mo
│ ├── DiscreteStockLabel.mo
│ ├── DocumentationInfo.mo
│ ├── Enumeration.mo
│ ├── Example.mo
│ ├── ExamplesPackage
│ │ └── package.mo
│ ├── ExpandableFlowPort.mo
│ ├── ExpandableStockPort.mo
│ ├── FlowIndicators.mo
│ ├── Function.mo
│ ├── FunctionLetter.mo
│ ├── FunctionsPackage
│ │ └── package.mo
│ ├── IconsPackage
│ │ └── package.mo
│ ├── IncubatorsPackage
│ │ └── package.mo
│ ├── Info.mo
│ ├── InfoFlowIndicatorDiagram.mo
│ ├── InformationProcessing.mo
│ ├── InformationProcessingPackage
│ │ └── package.mo
│ ├── InformationSourceIndicator.mo
│ ├── InformationSources
│ │ └── package.mo
│ ├── IntegerInput.mo
│ ├── IntegerOutput.mo
│ ├── Interaction.mo
│ ├── InterfacesPackage
│ │ └── package.mo
│ ├── InterpolationTable.mo
│ ├── MatFlowIndicatorDiagram.mo
│ ├── MaterialStock.mo
│ ├── MaterialStockIndicator.mo
│ ├── MoleculesPackage
│ │ └── package.mo
│ ├── MultiInput.mo
│ ├── MultiIntegerInput.mo
│ ├── MultiIntegerOutput.mo
│ ├── MultiOutput.mo
│ ├── MultiPort.mo
│ ├── OmniBus.mo
│ ├── Outflow.mo
│ ├── Oven.mo
│ ├── Package
│ │ └── package.mo
│ ├── Policy.mo
│ ├── PolicyPackage
│ │ └── package.mo
│ ├── Queue.mo
│ ├── RealInput.mo
│ ├── RealOutput.mo
│ ├── Record.mo
│ ├── SensorsPackage
│ │ └── package.mo
│ ├── SimulationModel.mo
│ ├── Sink.mo
│ ├── Smooth.mo
│ ├── Source.mo
│ ├── SourceOrSink.mo
│ ├── Stock.mo
│ ├── SubsystemActuator.mo
│ ├── SubsystemBlock.mo
│ ├── SubsystemIncubator.mo
│ ├── SubsystemTransceiver.mo
│ ├── Theta.mo
│ ├── TransceiversPackage
│ │ └── package.mo
│ ├── TypesPackage
│ │ └── package.mo
│ ├── UnidirectionalFlow.mo
│ ├── UnitsPackage
│ │ └── package.mo
│ ├── UtilitiesPackage
│ │ └── package.mo
│ ├── VariantsPackage
│ │ └── package.mo
│ ├── World.mo
│ ├── package.mo
│ └── package.order
├── InformationSources
│ ├── ConstantInput.mo
│ ├── ConstantInputRate.mo
│ ├── ConstantInputTime.mo
│ ├── ExogenousData.mo
│ ├── LinearTimeTable.mo
│ ├── PulseInput.mo
│ ├── RampInput.mo
│ ├── SineInput.mo
│ ├── StepInput.mo
│ ├── TimeInput.mo
│ ├── TimeInputConverted.mo
│ ├── package.mo
│ └── package.order
├── Interfaces
│ ├── Basics
│ │ ├── BaseConverter.mo
│ │ ├── BaseInformationProcessing.mo
│ │ ├── BaseInformationProcessing_MO.mo
│ │ ├── BasePolicy.mo
│ │ ├── BasePolicy_MO.mo
│ │ ├── GenericFlow.mo
│ │ ├── GenericFlow_Special.mo
│ │ ├── GenericSensor.mo
│ │ ├── GenericSmooth.mo
│ │ ├── GenericSourceOrSink.mo
│ │ ├── GenericStock.mo
│ │ ├── GenericStockInfo.mo
│ │ ├── GenericStockInfo_Special.mo
│ │ ├── GenericStock_Special.mo
│ │ ├── Interaction4SO.mo
│ │ ├── OutputTypeChoice.mo
│ │ ├── OutputTypeChoice_Rate.mo
│ │ ├── OutputTypeChoice_Time.mo
│ │ ├── SingleInput.mo
│ │ ├── ThreeSO.mo
│ │ ├── ThreeSO_rate.mo
│ │ ├── package.mo
│ │ └── package.order
│ ├── Connectors
│ │ ├── BooleanInput.mo
│ │ ├── BooleanMultiInput.mo
│ │ ├── BooleanOutput.mo
│ │ ├── DataBus.mo
│ │ ├── DataInPort.mo
│ │ ├── DataOutPort.mo
│ │ ├── ExpandableFlowPort.mo
│ │ ├── ExpandableStockPort.mo
│ │ ├── FlexTypeSignals
│ │ │ ├── RealInput.mo
│ │ │ ├── RealMultiInput.mo
│ │ │ ├── RealMultiOutput.mo
│ │ │ ├── RealOutput.mo
│ │ │ ├── package.mo
│ │ │ └── package.order
│ │ ├── FlowMultiPort.mo
│ │ ├── FlowPort.mo
│ │ ├── FlowPort_Special.mo
│ │ ├── IntegerInput.mo
│ │ ├── IntegerMultiInput.mo
│ │ ├── IntegerMultiOutput.mo
│ │ ├── IntegerOutput.mo
│ │ ├── MultiPort.mo
│ │ ├── OmniBus.mo
│ │ ├── RealInput.mo
│ │ ├── RealMultiInput.mo
│ │ ├── RealMultiOutput.mo
│ │ ├── RealOutput.mo
│ │ ├── StockInfoInput.mo
│ │ ├── StockInfoMultiInput.mo
│ │ ├── StockInfoMultiOutput.mo
│ │ ├── StockInfoOutput.mo
│ │ ├── StockMultiPort.mo
│ │ ├── StockPort.mo
│ │ ├── StockPort_Special.mo
│ │ ├── package.mo
│ │ └── package.order
│ ├── PartialCLD
│ │ ├── Control.mo
│ │ ├── Converter.mo
│ │ ├── CoupledSourceOrSink.mo
│ │ ├── Delay.mo
│ │ ├── Flow.mo
│ │ ├── FlowPort.mo
│ │ ├── InfoAggregation.mo
│ │ ├── Interaction.mo
│ │ ├── Lookup.mo
│ │ ├── Performance.mo
│ │ ├── RealInputToFlow.mo
│ │ ├── SourceOrSink.mo
│ │ ├── Stock.mo
│ │ ├── StockInfoToFlow.mo
│ │ ├── TimedSource.mo
│ │ ├── package.mo
│ │ └── package.order
│ ├── PartialConverters
│ │ ├── BooleanMISO.mo
│ │ ├── BooleanSI2SO.mo
│ │ ├── BooleanSIRealSO.mo
│ │ ├── BooleanSISO.mo
│ │ ├── BooleanSO.mo
│ │ ├── InformationProcessing_MO.mo
│ │ ├── InformationProcessing_SO.mo
│ │ ├── InformationSource_MO.mo
│ │ ├── InformationSource_SO.mo
│ │ ├── MIMO.mo
│ │ ├── MIMO_nin.mo
│ │ ├── MISO.mo
│ │ ├── MO.mo
│ │ ├── Policy_MO.mo
│ │ ├── Policy_SO.mo
│ │ ├── SI2BooleanSO.mo
│ │ ├── SI2SO.mo
│ │ ├── SI3SO.mo
│ │ ├── SIBooleanSO.mo
│ │ ├── SISO.mo
│ │ ├── SISO_Conversion.mo
│ │ ├── SO.mo
│ │ ├── SmoothSISO.mo
│ │ ├── package.mo
│ │ └── package.order
│ ├── PartialFlows
│ │ ├── BidirectionalFlow.mo
│ │ ├── Interaction.mo
│ │ ├── UnidirectionalFlow.mo
│ │ ├── package.mo
│ │ └── package.order
│ ├── PartialSourcesOrSinks
│ │ ├── Sink.mo
│ │ ├── Source.mo
│ │ ├── SourceOrSink.mo
│ │ ├── package.mo
│ │ └── package.order
│ ├── PartialStocks
│ │ ├── BasicStock.mo
│ │ ├── package.mo
│ │ └── package.order
│ ├── PartialSubsystems
│ │ ├── BaseSubsystem.mo
│ │ ├── BasicActuator.mo
│ │ ├── BasicBlock.mo
│ │ ├── BasicIncubator.mo
│ │ ├── BasicTransceiver.mo
│ │ ├── package.mo
│ │ └── package.order
│ ├── package.mo
│ └── package.order
├── ModelSettings.mo
├── MoleculesOfStructure
│ ├── Actuators
│ │ ├── Diffusion.mo
│ │ ├── package.mo
│ │ └── package.order
│ ├── Blocks
│ │ ├── EffectOfFatigue.mo
│ │ ├── ExperienceCurve.mo
│ │ ├── package.mo
│ │ └── package.order
│ ├── Incubators
│ │ ├── Account.mo
│ │ ├── Collector.mo
│ │ ├── package.mo
│ │ └── package.order
│ ├── InformationProcessing
│ │ ├── AggregatePerformance.mo
│ │ ├── BasicOrientation.mo
│ │ ├── FinancialReporting.mo
│ │ ├── PresentValue.mo
│ │ ├── ResidenceTime.mo
│ │ ├── TimeValueOfMoney.mo
│ │ ├── Trend.mo
│ │ ├── TrendBasedForecast.mo
│ │ ├── package.mo
│ │ └── package.order
│ ├── Policy
│ │ ├── ActionFromResource.mo
│ │ ├── Allocation.mo
│ │ ├── Allocation_Brent.mo
│ │ ├── CloseGap.mo
│ │ ├── FirstOrderStockAdjustment.mo
│ │ ├── PID.mo
│ │ ├── SplitProportionally.mo
│ │ ├── package.mo
│ │ └── package.order
│ ├── Transceivers
│ │ ├── Chain.mo
│ │ ├── Reservoir.mo
│ │ ├── SplitFlow.mo
│ │ ├── package.mo
│ │ └── package.order
│ ├── package.mo
│ └── package.order
├── Resources
│ ├── Images
│ │ ├── BusinessSimulation.svg
│ │ ├── CausalLoop.svg
│ │ ├── CausalLoop
│ │ │ ├── Elasticity
│ │ │ │ ├── Formula.svg
│ │ │ │ └── ModelDiagram.png
│ │ │ ├── ExponentialChange
│ │ │ │ └── ModelDiagram.png
│ │ │ ├── ExponentialDelay
│ │ │ │ └── ModelDiagram.png
│ │ │ ├── ForceToInputValue
│ │ │ │ └── ModelDiagram.png
│ │ │ ├── ForceToStockValue
│ │ │ │ └── ModelDiagram.png
│ │ │ ├── LinearChange
│ │ │ │ └── ModelDiagram.png
│ │ │ ├── LogisticGrowth
│ │ │ │ └── ModelDiagram.png
│ │ │ ├── PID_Control
│ │ │ │ ├── Formula.svg
│ │ │ │ └── ModelDiagram.png
│ │ │ ├── Performance
│ │ │ │ └── ModelDiagram.png
│ │ │ ├── PipelineDelay
│ │ │ │ └── ModelDiagram.png
│ │ │ ├── Proportionality
│ │ │ │ ├── Formula.svg
│ │ │ │ └── ModelDiagram.png
│ │ │ └── SimpleControl
│ │ │ │ └── ModelDiagram.png
│ │ ├── Converters.svg
│ │ ├── Converters
│ │ │ ├── DiscreteDelay
│ │ │ │ └── Smooth
│ │ │ │ │ ├── Formula.png
│ │ │ │ │ └── Formula.svg
│ │ │ ├── Lookup
│ │ │ │ ├── ConcaveLookupNegative
│ │ │ │ │ ├── Formula.png
│ │ │ │ │ ├── Formula.svg
│ │ │ │ │ ├── Graph.png
│ │ │ │ │ └── Graph.svg
│ │ │ │ ├── ConcaveLookupPositive
│ │ │ │ │ ├── Formula.png
│ │ │ │ │ ├── Formula.svg
│ │ │ │ │ ├── Graph.png
│ │ │ │ │ └── Graph.svg
│ │ │ │ ├── ConvexLookupNegative
│ │ │ │ │ ├── Formula.png
│ │ │ │ │ ├── Formula.svg
│ │ │ │ │ ├── Graph.png
│ │ │ │ │ └── Graph.svg
│ │ │ │ ├── ConvexLookupPositive
│ │ │ │ │ ├── Formula.png
│ │ │ │ │ ├── Formula.svg
│ │ │ │ │ ├── Graph.png
│ │ │ │ │ └── Graph.svg
│ │ │ │ ├── JanoschekNegative
│ │ │ │ │ ├── AnimatedGraph.gif
│ │ │ │ │ ├── Formula.png
│ │ │ │ │ └── Formula.svg
│ │ │ │ ├── JanoschekPositive
│ │ │ │ │ ├── AnimatedGraph.gif
│ │ │ │ │ ├── Formula.png
│ │ │ │ │ └── Formula.svg
│ │ │ │ ├── PerformanceIndicator
│ │ │ │ │ ├── Grid.png
│ │ │ │ │ └── Grid.svg
│ │ │ │ ├── SShapedNegative
│ │ │ │ │ ├── Formula.png
│ │ │ │ │ ├── Formula.svg
│ │ │ │ │ ├── Graph.png
│ │ │ │ │ └── Graph.svg
│ │ │ │ └── SShapedPositive
│ │ │ │ │ ├── Formula.png
│ │ │ │ │ ├── Formula.svg
│ │ │ │ │ ├── Graph.png
│ │ │ │ │ └── Graph.svg
│ │ │ ├── PolynomialFunction
│ │ │ │ ├── Formula.png
│ │ │ │ └── Formula.svg
│ │ │ ├── SoftMax
│ │ │ │ ├── Formula.svg
│ │ │ │ └── Graph.svg
│ │ │ ├── SoftMin
│ │ │ │ ├── Formula.svg
│ │ │ │ └── Graph.svg
│ │ │ └── Vector
│ │ │ │ ├── ArithmeticMean
│ │ │ │ ├── Formula.png
│ │ │ │ └── Formula.svg
│ │ │ │ ├── DotProduct
│ │ │ │ ├── Formula.png
│ │ │ │ └── Formula.svg
│ │ │ │ ├── GeometricMean
│ │ │ │ ├── Formula.png
│ │ │ │ └── Formula.svg
│ │ │ │ ├── Product
│ │ │ │ └── Formula.svg
│ │ │ │ ├── ProportionalSplitFactors
│ │ │ │ ├── Formula.png
│ │ │ │ ├── Formula.svg
│ │ │ │ ├── Formula2.png
│ │ │ │ └── Formula2.svg
│ │ │ │ ├── ScalarMultiplication
│ │ │ │ ├── Formula.png
│ │ │ │ └── Formula.svg
│ │ │ │ ├── Sum
│ │ │ │ ├── Formula.png
│ │ │ │ └── Formula.svg
│ │ │ │ ├── Times
│ │ │ │ ├── Formula.png
│ │ │ │ └── Formula.svg
│ │ │ │ └── Total
│ │ │ │ ├── Formula.png
│ │ │ │ └── Formula.svg
│ │ ├── Examples
│ │ │ ├── AssemblyLine
│ │ │ │ ├── ConveyorBelt.svg
│ │ │ │ ├── Inventory.svg
│ │ │ │ └── Machine.svg
│ │ │ ├── HealTheWorld
│ │ │ │ ├── Graphs.svg
│ │ │ │ └── ModelDiagram.png
│ │ │ ├── LotkaVolterraEquationsRevisited
│ │ │ │ ├── TimePlot.svg
│ │ │ │ └── Wolf.svg
│ │ │ ├── LotkaVolterraSystems
│ │ │ │ ├── Fox.svg
│ │ │ │ ├── Graph.svg
│ │ │ │ └── Rabbit.svg
│ │ │ ├── LoveHateDynamics
│ │ │ │ ├── Formula.svg
│ │ │ │ ├── Formula2.svg
│ │ │ │ ├── Heart.svg
│ │ │ │ ├── HeartBroken.svg
│ │ │ │ ├── Man.svg
│ │ │ │ └── Woman.svg
│ │ │ ├── SIR
│ │ │ │ ├── Graph.svg
│ │ │ │ └── Virus.svg
│ │ │ ├── SimpleProductionChain
│ │ │ │ └── UsefulLifeDistributions.png
│ │ │ └── SoftwareReleaseProject
│ │ │ │ ├── AccumulatedPerformance
│ │ │ │ └── ModelDiagram.png
│ │ │ │ ├── CausalLoopDiagram.png
│ │ │ │ ├── ControlCombinations.png
│ │ │ │ ├── ModelDiagram.png
│ │ │ │ ├── PerformanceC1.png
│ │ │ │ └── PerformanceC1.svg
│ │ ├── Flows.svg
│ │ ├── Flows
│ │ │ └── Interaction
│ │ │ │ ├── BrokenTransition
│ │ │ │ └── Diagram.png
│ │ │ │ ├── BrokenTransitionPull
│ │ │ │ └── Diagram.png
│ │ │ │ ├── ComplexInteraction
│ │ │ │ ├── Formula.png
│ │ │ │ └── Formula.svg
│ │ │ │ ├── LinearInteraction
│ │ │ │ ├── Formula.png
│ │ │ │ └── Formula.svg
│ │ │ │ ├── LotkaVolterra
│ │ │ │ ├── Formula.png
│ │ │ │ └── Formula.svg
│ │ │ │ └── NonlinearInteraction
│ │ │ │ ├── Formula.png
│ │ │ │ └── Formula.svg
│ │ ├── Functions
│ │ │ ├── allocateExtremeValue
│ │ │ │ └── Graph.svg
│ │ │ ├── allocateNormal
│ │ │ │ └── Graph.svg
│ │ │ ├── allocateTriangular
│ │ │ │ └── Graph.svg
│ │ │ └── allocateUniform
│ │ │ │ └── Graph.svg
│ │ ├── Icons
│ │ │ └── World
│ │ │ │ └── World.png
│ │ ├── InformationSources.svg
│ │ ├── Interfaces
│ │ │ └── PartialCLD
│ │ │ │ ├── CoupledSourceOrSink
│ │ │ │ └── ModelDiagram.png
│ │ │ │ ├── Delay
│ │ │ │ └── ModelDiagram.png
│ │ │ │ ├── Lookup
│ │ │ │ └── ModelDiagram.png
│ │ │ │ └── SourceOrSink
│ │ │ │ └── ModelDiagram.png
│ │ ├── MoleculesOfStructure.svg
│ │ ├── MoleculesOfStructure
│ │ │ ├── ActuatorIcon.png
│ │ │ ├── Actuators
│ │ │ │ └── Diffusion
│ │ │ │ │ └── Contact.png
│ │ │ ├── BlockIcon.png
│ │ │ ├── Blocks
│ │ │ │ └── ExperienceCurve
│ │ │ │ │ └── Formula.svg
│ │ │ ├── IncubatorIcon.png
│ │ │ ├── InformationProcessing
│ │ │ │ └── TimeValueOfMoney
│ │ │ │ │ ├── Formula.png
│ │ │ │ │ └── Formula.svg
│ │ │ └── TransceiverIcon.png
│ │ ├── SourcesOrSinks.svg
│ │ ├── SourcesOrSinks
│ │ │ ├── ExponentialDecay
│ │ │ │ ├── FormulaHalfLife.png
│ │ │ │ ├── FormulaHalfLife.svg
│ │ │ │ ├── FormulaRate.png
│ │ │ │ ├── FormulaRate.svg
│ │ │ │ ├── FormulaResidenceTime.png
│ │ │ │ └── FormulaResidenceTime.svg
│ │ │ └── LogisticGrowth
│ │ │ │ ├── Formula.png
│ │ │ │ ├── Formula.svg
│ │ │ │ ├── Plot.png
│ │ │ │ └── Plot.svg
│ │ ├── Stocks.svg
│ │ ├── UsersGuide
│ │ │ ├── Contact
│ │ │ │ ├── ContactInformation.png
│ │ │ │ ├── bslFullLogo.png
│ │ │ │ ├── icon_LinkedIn.png
│ │ │ │ ├── icon_fax.svg
│ │ │ │ ├── icon_mail.svg
│ │ │ │ ├── icon_person.svg
│ │ │ │ ├── icon_phone.svg
│ │ │ │ ├── icon_pin.svg
│ │ │ │ └── icon_world.svg
│ │ │ └── Tutorial
│ │ │ │ ├── ElementaryBuildingBlocks
│ │ │ │ ├── Actuators.svg
│ │ │ │ ├── BidirectionalFlow.svg
│ │ │ │ ├── Blocks.svg
│ │ │ │ ├── CapacityRestrictedStock.svg
│ │ │ │ ├── Cloud.svg
│ │ │ │ ├── Converters.svg
│ │ │ │ ├── Conveyor.svg
│ │ │ │ ├── DelayN.svg
│ │ │ │ ├── DiscreteDelay.svg
│ │ │ │ ├── Flows.svg
│ │ │ │ ├── Incubators.svg
│ │ │ │ ├── InformationLevel.svg
│ │ │ │ ├── InformationProcessing.svg
│ │ │ │ ├── InformationSources.svg
│ │ │ │ ├── Interaction.svg
│ │ │ │ ├── Logical.svg
│ │ │ │ ├── Lookup.svg
│ │ │ │ ├── MaterialStock.svg
│ │ │ │ ├── MoleculesOfStructure.svg
│ │ │ │ ├── Oven.svg
│ │ │ │ ├── Policy.svg
│ │ │ │ ├── PureDelay.svg
│ │ │ │ ├── SimpleConveyor.svg
│ │ │ │ ├── Sink.svg
│ │ │ │ ├── Source.svg
│ │ │ │ ├── SourceOrSink.svg
│ │ │ │ ├── SourcesOrSinks.svg
│ │ │ │ ├── Stocks.svg
│ │ │ │ ├── Transceivers.svg
│ │ │ │ ├── UnidirectionalFlow.svg
│ │ │ │ └── Vector.svg
│ │ │ │ └── StrategicBusinessSimulation
│ │ │ │ ├── ContinuousView.png
│ │ │ │ ├── SettingTheRate.png
│ │ │ │ └── SimpleProductionProcess.png
│ │ └── donate_button.svg
│ ├── LICENSE.txt
│ ├── README.txt
│ ├── SampleData.txt
│ ├── SampleTable1D.txt
│ └── SampleTable1DVector.txt
├── Sensors
│ ├── AbsoluteSensor.mo
│ ├── DynamicStockInfo.mo
│ ├── FlowPortSensor.mo
│ ├── FlowPortSensor_Control.mo
│ ├── StockInfo.mo
│ ├── StockPortSensor.mo
│ ├── StockPortSensor_Control.mo
│ ├── package.mo
│ └── package.order
├── SourcesOrSinks
│ ├── Cloud.mo
│ ├── Decline.mo
│ ├── ExogenousChange.mo
│ ├── ExponentialChange.mo
│ ├── ExponentialDecay.mo
│ ├── ExponentialDecline.mo
│ ├── ExponentialGrowth.mo
│ ├── Growth.mo
│ ├── LogisticGrowth.mo
│ ├── package.mo
│ └── package.order
├── Stocks
│ ├── CapacityRestrictedStock.mo
│ ├── Conveyor.mo
│ ├── DelayN.mo
│ ├── HinesCoflow.mo
│ ├── InformationLevel.mo
│ ├── MaterialStock.mo
│ ├── Oven.mo
│ ├── PureDelay.mo
│ ├── SimpleConveyor.mo
│ ├── package.mo
│ └── package.order
├── Types
│ ├── AggregateFunctions.mo
│ ├── BasicOrientors.mo
│ ├── Booleans.mo
│ ├── InitializationOptions.mo
│ ├── Integers.mo
│ ├── MembershipFunctionTypes.mo
│ ├── OutflowPriorities.mo
│ ├── PriorityProfiles.mo
│ ├── Reals.mo
│ ├── StockInformation.mo
│ ├── Strings.mo
│ ├── TimeBases.mo
│ ├── package.mo
│ └── package.order
├── Units
│ ├── Amount.mo
│ ├── AmountOfSubstance.mo
│ ├── AmountRate.mo
│ ├── Angle.mo
│ ├── AngularMomentum.mo
│ ├── AngularMomentumFlowRate.mo
│ ├── Area.mo
│ ├── DataCapacity.mo
│ ├── DataTransferRate.mo
│ ├── Density.mo
│ ├── Dimensionless.mo
│ ├── ElectricCharge.mo
│ ├── ElectricCurrent.mo
│ ├── Energy.mo
│ ├── EnergyFlowRate.mo
│ ├── Entropy.mo
│ ├── EntropyFlowRate.mo
│ ├── ExtensiveQuantity.mo
│ ├── Fraction.mo
│ ├── Goods.mo
│ ├── Information.mo
│ ├── IntangibleAssets.mo
│ ├── IntensiveQuantity.mo
│ ├── Labor.mo
│ ├── LaborGrowthRate.mo
│ ├── Length.mo
│ ├── Mass.mo
│ ├── MassFlowRate.mo
│ ├── Material.mo
│ ├── Momentum.mo
│ ├── MomentumFlowRate.mo
│ ├── MonetaryFlow.mo
│ ├── MonetaryFlow_CNY.mo
│ ├── MonetaryFlow_EUR.mo
│ ├── MonetaryFlow_GBP.mo
│ ├── MonetaryFlow_JPY.mo
│ ├── MonetaryFlow_USD.mo
│ ├── Money.mo
│ ├── Money_CNY.mo
│ ├── Money_EUR.mo
│ ├── Money_GBP.mo
│ ├── Money_JPY.mo
│ ├── Money_USD.mo
│ ├── Orders.mo
│ ├── People.mo
│ ├── Population.mo
│ ├── PositiveRatio.mo
│ ├── Probability.mo
│ ├── Rate.mo
│ ├── Ratio.mo
│ ├── TangibleAssets.mo
│ ├── Temperature.mo
│ ├── TemperatureDifference.mo
│ ├── Time.mo
│ ├── Time_days.mo
│ ├── Time_hours.mo
│ ├── Time_minutes.mo
│ ├── Time_months.mo
│ ├── Time_quarters.mo
│ ├── Time_weeks.mo
│ ├── Time_years.mo
│ ├── UnitScaleIntangibles.mo
│ ├── Unspecified.mo
│ ├── Velocity.mo
│ ├── Volume.mo
│ ├── VolumeFlowRate.mo
│ ├── package.mo
│ └── package.order
├── UsersGuide
│ ├── Contact.mo
│ ├── Licence.mo
│ ├── References.mo
│ ├── ReleaseNotes
│ │ ├── Version_1_0_0.mo
│ │ ├── Version_1_0_1.mo
│ │ ├── Version_2_0_0.mo
│ │ ├── Version_2_1_0.mo
│ │ ├── Version_2_1_1.mo
│ │ ├── Version_2_2_0.mo
│ │ ├── package.mo
│ │ └── package.order
│ ├── Tutorial
│ │ ├── ElementaryBuildingBlocks.mo
│ │ ├── StrategicBusinessSimulation.mo
│ │ ├── UnitsInBusinessSimulations.mo
│ │ ├── package.mo
│ │ └── package.order
│ ├── package.mo
│ └── package.order
├── package.mo
└── package.order
├── LICENSE.md
└── README.md
/.gitattributes:
--------------------------------------------------------------------------------
1 | # SVG as text files and pdf as binary
2 | *.svg text
3 | *.pdf binary
4 | *.nb binary
5 |
--------------------------------------------------------------------------------
/.github/FUNDING.yml:
--------------------------------------------------------------------------------
1 | # These are supported funding model platforms
2 |
3 | github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
4 | patreon: # Replace with a single Patreon username
5 | open_collective: # Replace with a single Open Collective username
6 | ko_fi: guidowolfreichert
7 | tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9 | liberapay: # Replace with a single Liberapay username
10 | issuehunt: # Replace with a single IssueHunt username
11 | otechie: # Replace with a single Otechie username
12 | lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
13 | custom: "https://www.paypal.com/donate/?hosted_button_id=GXVZT8LD7CFXN"
14 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 |
2 | *.log
3 | *.DS_Store
--------------------------------------------------------------------------------
/BusinessSimulation/CausalLoop/InfoFlowIndicator.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.CausalLoop;
2 |
3 | model InfoFlowIndicator "Directional indicator for information flows in a diagram"
4 | import ICON = BusinessSimulation.Icons.InfoFlowIndicatorDiagram;
5 | extends ICON;
6 | /* label */
7 | annotation(defaultComponentName = "lab", Documentation(info = "
8 |
This information is part of the Business Simulation Library (BSL). Please support this work and ► donate .
9 | The information flow indicator can be used to clarify direction of information flows where appropriate in more complex diagrams. The component will not introduce any equations and is intended for diagramming purposes only.
10 | See also
11 |
12 | MatFlowIndicator
13 |
14 | ", revisions = "
15 |
16 | Introduced in v2.0.0.
17 |
18 | "), Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10})));
19 | end InfoFlowIndicator;
20 |
--------------------------------------------------------------------------------
/BusinessSimulation/CausalLoop/MatFlowIndicator.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.CausalLoop;
2 |
3 | model MatFlowIndicator "Directional indicator for material flows in a diagram"
4 | import ICON = BusinessSimulation.Icons.MatFlowIndicatorDiagram;
5 | extends ICON;
6 | /* label */
7 | annotation(defaultComponentName = "lab", Documentation(info = "
8 | This information is part of the Business Simulation Library (BSL). Please support this work and ► donate .
9 | The material flow indicator can be used to clarify direction of material flows where appropriate in more complex diagrams. The component will not introduce any equations and is intended for diagramming purposes only.
10 | See also
11 |
12 | InfoFlowIndicator
13 |
14 | ", revisions = "
15 |
16 | Introduced in v2.0.0.
17 |
18 | "), Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10})));
19 | end MatFlowIndicator;
20 |
--------------------------------------------------------------------------------
/BusinessSimulation/CausalLoop/package.order:
--------------------------------------------------------------------------------
1 | SimpleInformationLevel
2 | SimpleMaterialStock
3 | Performance
4 | InputControl
5 | SimpleControl
6 | PID_Control
7 | ExponentialChange
8 | LinearChange
9 | LogisticGrowth
10 | Elasticity
11 | ElasticityDelayed
12 | Proportionality
13 | ProportionalityDelayed
14 | ForceToInputValue
15 | ForceToStockValue
16 | ExponentialDelay
17 | PipelineDelay
18 | ComplexInteraction
19 | UnidirectionalFlow
20 | SplitFlow
21 | Lookup_JPositive
22 | Lookup_JNegative
23 | Lookup_SPositive
24 | Lookup_SNegative
25 | Lookup_Table
26 | Lookup_TableOnFile
27 | Aggregation
28 | StockInformation
29 | RateInformation
30 | Aggregation_Info
31 | Total
32 | Product
33 | LoopIndicator_CW
34 | LoopIndicator_CCW
35 | MatFlowIndicator
36 | InfoFlowIndicator
37 | SketchVariable
38 |
--------------------------------------------------------------------------------
/BusinessSimulation/Constants/package.order:
--------------------------------------------------------------------------------
1 | e
2 | eps
3 | inf
4 | INF
5 | pi
6 | small
7 | timeBaseUnits
8 | timeBaseRateUnits
9 | rateStrings
10 | timeBaseConversionFactors
11 | unspecified
12 | unspec
13 | zero
14 | '1each'
15 |
--------------------------------------------------------------------------------
/BusinessSimulation/Converters/DiscreteDelay/package.order:
--------------------------------------------------------------------------------
1 | DelayFixed
2 | DelayInformation
3 | Sampler
4 | SampleIfTrue
5 | Smooth
6 | SmoothN
7 | AsymmetricSmooth
8 | AsymmetricSmoothN
9 |
--------------------------------------------------------------------------------
/BusinessSimulation/Converters/Exp.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Converters;
2 |
3 | block Exp "Natural exponential function"
4 | import BusinessSimulation.Units.*;
5 | extends Interfaces.PartialConverters.SISO;
6 | equation
7 | y = exp(u);
8 | annotation(Documentation(info = "
9 | This information is part of the Business Simulation Library (BSL). Please support this work and ► donate .
10 | The output y is the natural exponential function of the input u .
11 | "), Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Text(visible = true, textColor = {0, 0, 128}, extent = {{-40.484, -12}, {40.484, 12}}, textString = "EXP", fontName = "Lato", textStyle = {TextStyle.Bold})}), Diagram(coordinateSystem(extent = {{-148.5, -105}, {148.5, 105}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));
12 | end Exp;
13 |
--------------------------------------------------------------------------------
/BusinessSimulation/Converters/Logical/AllTrue.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Converters.Logical;
2 |
3 | block AllTrue "Logical 'all true'"
4 | extends Interfaces.PartialConverters.BooleanMISO;
5 | equation
6 | y = Functions.allTrueQ(u);
7 | annotation(Documentation(info = "
8 | This information is part of the Business Simulation Library (BSL). Please support this work and ► donate .
9 | The Boolean output y is true
, if all Boolean elements of the input vector u are true
, and false
otherwise.
10 | "), Diagram(coordinateSystem(extent = {{-150, -90}, {150, 90}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})), Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Text(visible = true, textColor = {190, 52, 178}, extent = {{-40.484, -12}, {40.484, 12}}, textString = "AllTrue", fontName = "Lato", textStyle = {TextStyle.Bold})}));
11 | end AllTrue;
12 |
--------------------------------------------------------------------------------
/BusinessSimulation/Converters/Logical/And.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Converters.Logical;
2 |
3 | block And "Logical 'and'"
4 | extends Interfaces.PartialConverters.BooleanSI2SO;
5 | equation
6 | y = u1 and u2;
7 | annotation(Documentation(info = "
8 | This information is part of the Business Simulation Library (BSL). Please support this work and ► donate .
9 | The Boolean output y is true
, if both Boolean inputs u1 and u2 are true
, and false
else.
10 | "), Diagram(coordinateSystem(extent = {{-150, -90}, {150, 90}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})), Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Text(visible = true, textColor = {190, 52, 178}, extent = {{-40.484, -12}, {40.484, 12}}, textString = "AND", fontName = "Lato", textStyle = {TextStyle.Bold})}));
11 | end And;
12 |
--------------------------------------------------------------------------------
/BusinessSimulation/Converters/Logical/NoneTrue.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Converters.Logical;
2 |
3 | block NoneTrue "Logical 'none true'"
4 | extends Interfaces.PartialConverters.BooleanMISO;
5 | equation
6 | y = Functions.noneTrueQ(u);
7 | annotation(Documentation(info = "
8 | This information is part of the Business Simulation Library (BSL). Please support this work and ► donate .
9 | The Boolean output y is true
, if none of the Boolean elements of the input vector u are true
, and false
otherwise.
10 | "), Diagram(coordinateSystem(extent = {{-150, -90}, {150, 90}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})), Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Text(visible = true, textColor = {190, 52, 178}, extent = {{-57.18, -12}, {57.18, 12}}, textString = "NoneTrue", fontName = "Lato", textStyle = {TextStyle.Bold})}));
11 | end NoneTrue;
12 |
--------------------------------------------------------------------------------
/BusinessSimulation/Converters/Logical/Not.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Converters.Logical;
2 |
3 | block Not "Logical 'not'"
4 | extends Interfaces.PartialConverters.BooleanSISO;
5 | equation
6 | y = not u;
7 | annotation(Documentation(info = "
8 | This information is part of the Business Simulation Library (BSL). Please support this work and ► donate .
9 | The boolean output y is true
, if the Boolean input u is false
, and false otherwise.
10 | "), Diagram(coordinateSystem(extent = {{-150, -90}, {150, 90}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})), Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Text(visible = true, textColor = {190, 52, 178}, extent = {{-40.484, -12}, {40.484, 12}}, textString = "NOT", fontName = "Lato", textStyle = {TextStyle.Bold})}));
11 | end Not;
12 |
--------------------------------------------------------------------------------
/BusinessSimulation/Converters/Logical/Or.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Converters.Logical;
2 |
3 | block Or "Logical 'or'"
4 | extends Interfaces.PartialConverters.BooleanSI2SO;
5 | equation
6 | y = u1 or u2;
7 | annotation(Documentation(info = "
8 | This information is part of the Business Simulation Library (BSL). Please support this work and ► donate .
9 | The boolean output y is true
, if either or both boolean inputs u1 and u2 are true
, and false
else.
", revisions = ""), Diagram(coordinateSystem(extent = {{-150, -90}, {150, 90}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})), Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Text(visible = true, textColor = {190, 52, 178}, extent = {{-40.484, -12}, {40.484, 12}}, textString = "OR", fontName = "Lato", textStyle = {TextStyle.Bold})}));
10 | end Or;
11 |
--------------------------------------------------------------------------------
/BusinessSimulation/Converters/Logical/Xor.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Converters.Logical;
2 |
3 | block Xor "Logical 'xor'"
4 | extends Interfaces.PartialConverters.BooleanSI2SO;
5 | equation
6 | y = (u1 or u2) and not (u1 and u2);
7 | annotation(Documentation(info = "
8 | This information is part of the Business Simulation Library (BSL). Please support this work and ► donate .
9 | The boolean output y is true
, if either (but not both) boolean inputs u1 and u2 are true
, and false
else.
", revisions = ""), Diagram(coordinateSystem(extent = {{-150, -90}, {150, 90}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})), Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Text(visible = true, textColor = {190, 52, 178}, extent = {{-40.484, -12}, {40.484, 12}}, textString = "XOR", fontName = "Lato", textStyle = {TextStyle.Bold})}));
10 | end Xor;
11 |
--------------------------------------------------------------------------------
/BusinessSimulation/Converters/Logical/package.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Converters;
2 |
3 | package Logical "Converters with boolean output and/or input"
4 | extends Icons.Package;
5 | annotation(Documentation(info = "
6 | This information is part of the Business Simulation Library (BSL). Please support this work and ► donate .
7 | This package contains converters where at least input or output signals are Boolean variables.
8 |
9 |
10 | Copyright © 2020 Guido Wolf Reichert Licensed under the EUPL-1.2 or later
11 | "), Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Text(visible = true, textColor = {255, 255, 255}, extent = {{-96.85, -20}, {96.85, 20}}, textString = "true | false", fontName = "Lato", textStyle = {TextStyle.Bold})}));
12 | end Logical;
13 |
--------------------------------------------------------------------------------
/BusinessSimulation/Converters/Logical/package.order:
--------------------------------------------------------------------------------
1 | AllTrue
2 | And
3 | AnyTrue
4 | Boole
5 | ConstantConverterBoolean
6 | Greater
7 | GreaterEqual
8 | Less
9 | LessEqual
10 | NoneTrue
11 | Not
12 | NotZero
13 | Or
14 | Switch
15 | SwitchN
16 | Threshold
17 | Xor
18 |
--------------------------------------------------------------------------------
/BusinessSimulation/Converters/Lookup/package.order:
--------------------------------------------------------------------------------
1 | ConcaveLookupPositive
2 | ConcaveLookupNegative
3 | ConvexLookupPositive
4 | ConvexLookupNegative
5 | JanoschekPositive
6 | JanoschekNegative
7 | PerformanceIndicator
8 | SShapedPositive
9 | SShapedNegative
10 | TableFunction
11 | TableFunctionVector
12 |
--------------------------------------------------------------------------------
/BusinessSimulation/Converters/Max.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Converters;
2 |
3 | block Max "Return the largest value"
4 | import BusinessSimulation.Units.*;
5 | extends Interfaces.PartialConverters.SI2SO;
6 | equation
7 | y = max(u1, u2);
8 | annotation(Documentation(info = "
9 | This information is part of the Business Simulation Library (BSL). Please support this work and ► donate .
10 | The output y is the maximum of the inputs u1 and u2 .
11 | See also
12 | Vector.Max
13 | "), Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Text(visible = true, textColor = {0, 0, 128}, extent = {{-40.484, -12}, {40.484, 12}}, textString = "MAX", fontName = "Lato", textStyle = {TextStyle.Bold})}), Diagram(coordinateSystem(extent = {{-148.5, -105}, {148.5, 105}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));
14 | end Max;
15 |
--------------------------------------------------------------------------------
/BusinessSimulation/Converters/Min.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Converters;
2 |
3 | block Min "Return the smallest value"
4 | import BusinessSimulation.Units.*;
5 | extends Interfaces.PartialConverters.SI2SO;
6 | equation
7 | y = min(u1, u2);
8 | annotation(Documentation(info = "
9 | This information is part of the Business Simulation Library (BSL). Please support this work and ► donate .
10 | The output y is the minimum of the inputs u1 and u2 .
11 | See also
12 | Vector.Min
"), Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Text(visible = true, textColor = {0, 0, 128}, extent = {{-40.484, -12}, {40.484, 12}}, textString = "MIN", fontName = "Lato", textStyle = {TextStyle.Bold})}), Diagram(coordinateSystem(extent = {{-148.5, -105}, {148.5, 105}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));
13 | end Min;
14 |
--------------------------------------------------------------------------------
/BusinessSimulation/Converters/Special/package.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Converters;
2 |
3 | package Special "Special converters - often used as utility functions"
4 | extends Icons.Package;
5 | annotation(Documentation(info = "
6 | This information is part of the Business Simulation Library (BSL). Please support this work and ► donate .
7 | This package contains converters that are more or less technical.
8 |
9 |
10 | Copyright © 2020 Guido Wolf Reichert Licensed under the EUPL-1.2 or later
11 | "), Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Text(visible = true, textColor = {255, 255, 255}, extent = {{-96.85, -20}, {96.85, 20}}, textString = "SPECIAL", fontName = "Lato", textStyle = {TextStyle.Bold})}), Diagram(coordinateSystem(extent = {{-150, -90}, {150, 90}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));
12 | end Special;
13 |
--------------------------------------------------------------------------------
/BusinessSimulation/Converters/Special/package.order:
--------------------------------------------------------------------------------
1 | RangeAssert
2 | VariableRangeAssert
3 |
--------------------------------------------------------------------------------
/BusinessSimulation/Converters/Vector/Max.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Converters.Vector;
2 |
3 | block Max "Max function for vectors"
4 | import BusinessSimulation.Units.*;
5 | extends Interfaces.PartialConverters.MISO;
6 | equation
7 | y = max(u);
8 | annotation(Documentation(info = "
9 | This information is part of the Business Simulation Library (BSL). Please support this work and ► donate .
10 | The scalar output y is obtained as the maximum of all components in the input vector u.
", revisions = ""), Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Text(visible = true, textColor = {0, 0, 128}, extent = {{-40.484, -12}, {40.484, 12}}, textString = "MAX", fontName = "Lato", textStyle = {TextStyle.Bold})}), Diagram(coordinateSystem(extent = {{-150, -90}, {150, 90}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));
11 | end Max;
12 |
--------------------------------------------------------------------------------
/BusinessSimulation/Converters/Vector/Min.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Converters.Vector;
2 |
3 | block Min "Min function for vectors"
4 | import BusinessSimulation.Units.*;
5 | extends Interfaces.PartialConverters.MISO;
6 | equation
7 | y = min(u);
8 | annotation(Documentation(info = "
9 | This information is part of the Business Simulation Library (BSL). Please support this work and ► donate .
10 | The scalar output y is obtained as the minimum of all components in the input vector u.
", revisions = ""), Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Text(visible = true, textColor = {0, 0, 128}, extent = {{-40.484, -12}, {40.484, 12}}, textString = "MIN", fontName = "Lato", textStyle = {TextStyle.Bold})}), Diagram(coordinateSystem(extent = {{-150, -90}, {150, 90}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));
11 | end Min;
12 |
--------------------------------------------------------------------------------
/BusinessSimulation/Converters/Vector/package.order:
--------------------------------------------------------------------------------
1 | ArithmeticMean
2 | Clip
3 | ComplementFractions
4 | ConstantConverter
5 | ConstantConverterRate
6 | ConstantConverterTime
7 | DotProduct
8 | GeometricMean
9 | Max
10 | Min
11 | Product
12 | ProportionalSplitFactors
13 | Rescale
14 | ScalarMultiplication
15 | Sum
16 | Times
17 | Total
18 |
--------------------------------------------------------------------------------
/BusinessSimulation/Converters/package.order:
--------------------------------------------------------------------------------
1 | DiscreteDelay
2 | Logical
3 | Lookup
4 | Vector
5 | Special
6 | Abs
7 | AccumulationFunction
8 | Add_2
9 | Add_3
10 | Clip
11 | ClipProcessTime
12 | ConstantConverter
13 | ConstantConverterRate
14 | ConstantConverterTime
15 | Division
16 | Division_Guarded
17 | DmnlInput
18 | Disruption
19 | Exp
20 | Gain
21 | GameInput
22 | Gap
23 | Log
24 | Max
25 | Min
26 | PassThrough
27 | PolynomialFunction
28 | PolynomialFunctionDivisor
29 | PolynomialFunctionFactor
30 | Power
31 | Product_2
32 | Product_3
33 | ForceOfInterest
34 | RateConversion
35 | Rescale
36 | SoftMax
37 | SoftMin
38 | TimeConversion
39 | ZeroIfNegative
40 |
--------------------------------------------------------------------------------
/BusinessSimulation/Examples/package.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation;
2 |
3 | package Examples "Example models showing basic and advanced functionality"
4 | extends Icons.ExamplesPackage;
5 | import BusinessSimulation.Units.*;
6 | annotation(Documentation(info = "
7 | This information is part of the Business Simulation Library (BSL). Please support this work and ► donate .
8 | This package contains examples for the use of library elements in simulation models.
9 | See also
10 |
11 | Tutorial
12 |
13 |
14 |
15 | Copyright © 2020 Guido Wolf Reichert Licensed under the EUPL-1.2 or later
16 | "), Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10})), Diagram(coordinateSystem(extent = {{-148.5, -105}, {148.5, 105}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));
17 | end Examples;
18 |
--------------------------------------------------------------------------------
/BusinessSimulation/Examples/package.order:
--------------------------------------------------------------------------------
1 | SimpleProductionChain
2 | SimpleProductionChainII
3 | SimpleProductionChainIII
4 | SIR
5 | LoveHateDynamics
6 | LotkaVolterraSystems
7 | LotkaVolterraEquationsRevisited
8 | ManagingEmployment
9 | AssemblyLine
10 | LookupFunctions
11 | HealTheWorld
12 | SoftwareReleaseProject
13 |
--------------------------------------------------------------------------------
/BusinessSimulation/Flows/Bidirectional/package.order:
--------------------------------------------------------------------------------
1 | ProportionalSwitching
2 | Switching
3 |
--------------------------------------------------------------------------------
/BusinessSimulation/Flows/Interaction/package.order:
--------------------------------------------------------------------------------
1 | BrokenTransition
2 | BrokenTransitionPull
3 | ComplexInteraction
4 | LinearInteraction
5 | LotkaVolterra
6 | NonlinearInteraction
7 |
--------------------------------------------------------------------------------
/BusinessSimulation/Flows/Unidirectional/package.order:
--------------------------------------------------------------------------------
1 | CheckValveInflow
2 | CheckValveOutflow
3 | Decay
4 | OutflowDynamicStock
5 | ProportionalTransition
6 | SplitOutflowDynamicStock
7 | Transition
8 |
--------------------------------------------------------------------------------
/BusinessSimulation/Flows/package.order:
--------------------------------------------------------------------------------
1 | Unidirectional
2 | Bidirectional
3 | Interaction
4 |
--------------------------------------------------------------------------------
/BusinessSimulation/Functions/UtilityFunctions/findClearAttrac.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Functions.UtilityFunctions;
2 |
3 | encapsulated function findClearAttrac "y = available - sum( allocatedAmounts(u, vecA, vecC, vecW, pp) )"
4 | import partialScalarFunc = Modelica.Math.Nonlinear.Interfaces.partialScalarFunction;
5 | import BusinessSimulation.Functions.allocatedAmounts;
6 | import PP = BusinessSimulation.Types.PriorityProfiles;
7 | extends partialScalarFunc;
8 | // input Real u "Clearing attractiveness";
9 | input Real amount "Available amount";
10 | input Real[:] vecA "Vector of attractiveness (i.e., priority) scores for recipients";
11 | input Real[size(vecA, 1)] vecC "Vector of supply capacities or demand saturation levels";
12 | input Real[size(vecA, 1)] vecW "Vector of width parameters for priority distributions";
13 | input PP pp = PP.uniform "Priority distribution to be used for allocation";
14 | protected
15 | Real totalAllocated;
16 | algorithm
17 | totalAllocated := sum(allocatedAmounts(x = u, vecA = vecA, vecC = vecC, vecW = vecW, pp = pp));
18 | y := amount - totalAllocated;
19 | end findClearAttrac;
20 |
--------------------------------------------------------------------------------
/BusinessSimulation/Functions/UtilityFunctions/package.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Functions;
2 |
3 | package UtilityFunctions "Functions used as function arguments"
4 | extends Icons.UtilitiesPackage;
5 | end UtilityFunctions;
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Functions/UtilityFunctions/package.order:
--------------------------------------------------------------------------------
1 | findClearAttrac
2 |
--------------------------------------------------------------------------------
/BusinessSimulation/Functions/boole.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Functions;
2 |
3 | function boole "Returns 1.0 if input is true, and 0.0 otherwise"
4 | extends BusinessSimulation.Icons.Function;
5 | input Boolean u "Boolean input";
6 | output Real y "Real output";
7 | algorithm
8 | y := if noEvent(u == true) then 1. else 0.;
9 | annotation(Inline = true, Documentation(info = "
10 | This information is part of the Business Simulation Library (BSL). Please support this work and ► donate .
11 | The function returns 1.0 if the Boolean input u is true
and 0.0 in all other cases.
12 | Syntax
13 | Functions.boole (u)
14 | Examples
15 |
16 | Functions.boole(true); // 1.0 Functions.boole(false); // 0.0
17 | ", revisions = "
18 |
19 | Added Inline = true
in v2.1.0.
20 |
21 | "), Diagram(coordinateSystem(extent = {{-148.5, -105}, {148.5, 105}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));
22 | end boole;
23 |
--------------------------------------------------------------------------------
/BusinessSimulation/Functions/package.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation;
2 |
3 | package Functions "Functions used within the library"
4 | extends Icons.FunctionsPackage;
5 | annotation(Documentation(info = "
6 | This information is part of the Business Simulation Library (BSL). Please support this work and ► donate .
7 | This pacakge contains functions used in the library.
8 |
9 |
10 | Copyright © 2020 Guido Wolf Reichert Licensed under the EUPL-1.2 or later
11 | "), Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10})), Diagram(coordinateSystem(extent = {{-148.5, -105}, {148.5, 105}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));
12 | end Functions;
13 |
--------------------------------------------------------------------------------
/BusinessSimulation/Functions/package.order:
--------------------------------------------------------------------------------
1 | allocateAvailable
2 | allocatedAmounts
3 | allocateExtremeValue
4 | allocateNormal
5 | allocateTriangular
6 | allocateUniform
7 | allTrueQ
8 | areaLineSegment
9 | arithmeticMean
10 | bitShiftRight
11 | boole
12 | clip
13 | constrainedRate
14 | constrainedRateBoolean
15 | evalmf
16 | gaussmf
17 | gbellmf
18 | geometricMean
19 | hunt
20 | interpolate
21 | locate
22 | janoschek
23 | noneTrueQ
24 | normalizationConstant
25 | normalizePLpdf
26 | notZeroQ
27 | pimf
28 | plCDF
29 | polynomialFunction
30 | psigmf
31 | rampmf
32 | rawInterpolate
33 | rescale
34 | rescaleVector
35 | shiftList
36 | sigmf
37 | smf
38 | stringToTimeBase
39 | trapmf
40 | trimf
41 | UtilityFunctions
42 |
--------------------------------------------------------------------------------
/BusinessSimulation/Icons/ActuatorsPackage/package.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Icons;
2 |
3 | partial package ActuatorsPackage "Actuators package icon"
4 | extends Package;
5 | annotation(Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Rectangle(visible = true, origin = {0, 5}, lineColor = {255, 255, 255}, fillColor = {255, 255, 255}, lineThickness = 4, extent = {{-62.764, -53.47}, {62.764, 53.47}}), Rectangle(visible = true, origin = {-62.781, 4.645}, lineColor = {255, 255, 255}, fillColor = {255, 255, 255}, fillPattern = FillPattern.Solid, lineThickness = 4, extent = {{-10.968, -11.451}, {10.968, 11.451}}), Rectangle(visible = true, origin = {62.219, 4.645}, lineColor = {255, 255, 255}, fillColor = {255, 255, 255}, fillPattern = FillPattern.Solid, lineThickness = 4, extent = {{-10.968, -11.451}, {10.968, 11.451}})}), Diagram(coordinateSystem(extent = {{-148.5, -105}, {148.5, 105}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));
6 | end ActuatorsPackage;
7 |
--------------------------------------------------------------------------------
/BusinessSimulation/Icons/BasesPackage/package.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Icons;
2 |
3 | partial package BasesPackage "Base class package icon"
4 | extends Package;
5 | annotation(Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Ellipse(visible = true, lineColor = {128, 128, 128}, fillColor = {255, 255, 255}, fillPattern = FillPattern.Solid, extent = {{-30, -30}, {30, 30}})}), Diagram(coordinateSystem(extent = {{-148.5, -105}, {148.5, 105}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));
6 | end BasesPackage;
7 |
--------------------------------------------------------------------------------
/BusinessSimulation/Icons/BlocksPackage/package.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Icons;
2 |
3 | partial package BlocksPackage "Blocks package icon"
4 | extends Package;
5 | annotation(Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Rectangle(visible = true, origin = {0, 5}, lineColor = {255, 255, 255}, fillColor = {255, 255, 255}, lineThickness = 4, extent = {{-62.764, -53.47}, {62.764, 53.47}}), Polygon(visible = true, origin = {-38.443, -27.68}, lineColor = {255, 255, 255}, fillColor = {255, 255, 255}, pattern = LinePattern.None, fillPattern = FillPattern.Solid, points = {{-58, 46}, {-29.557, 31.762}, {-58, 17.68}, {-58, 46}}), Polygon(visible = true, origin = {126.557, -27.68}, lineColor = {255, 255, 255}, fillColor = {255, 255, 255}, pattern = LinePattern.None, fillPattern = FillPattern.Solid, points = {{-58, 46}, {-29.557, 31.762}, {-58, 17.68}, {-58, 46}})}), Diagram(coordinateSystem(extent = {{-148.5, -105}, {148.5, 105}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));
6 | end BlocksPackage;
7 |
--------------------------------------------------------------------------------
/BusinessSimulation/Icons/CapacityLabel.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Icons;
2 |
3 | partial class CapacityLabel "Mark stock element as having capacity restrictions"
4 | annotation(Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Text(visible = true, origin = {61.092, 75}, textColor = {128, 0, 128}, extent = {{-28.908, -20}, {28.908, 20}}, textString = "CPTY", fontName = "Lato", textStyle = {TextStyle.Bold})}), Diagram(coordinateSystem(extent = {{-150, -90}, {150, 90}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));
5 | end CapacityLabel;
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Icons/ClockwiseLoop.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Icons;
2 |
3 | partial class ClockwiseLoop "Icon for a clockwise feedback loop"
4 | annotation(Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Ellipse(visible = true, lineColor = {64, 64, 64}, fillColor = {255, 255, 255}, lineThickness = 2, extent = {{-32.727, -32.727}, {32.727, 32.727}}, endAngle = 300, closure = EllipseClosure.None), Polygon(visible = true, origin = {32.067, -1}, lineColor = {64, 64, 64}, fillColor = {64, 64, 64}, fillPattern = FillPattern.Solid, points = {{0, -9}, {5, 5}, {-5, 5}})}), Diagram(coordinateSystem(extent = {{-148.5, -105}, {148.5, 105}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));
5 | end ClockwiseLoop;
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Icons/ComponentName.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Icons;
2 |
3 | partial class ComponentName "Component name for Icon View"
4 | annotation(Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Text(visible = true, origin = {0, -125}, textColor = {64, 64, 64}, extent = {{-150, -12}, {150, 12}}, textString = "%name", fontName = "Lato")}), Diagram(coordinateSystem(extent = {{-148.5, -105}, {148.5, 105}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));
5 | end ComponentName;
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Icons/ConstantConverter.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Icons;
2 |
3 | partial block ConstantConverter "Icon for constant converter elements"
4 | extends ConstantConverterName;
5 | annotation(Diagram(coordinateSystem(extent = {{-150, -90}, {150, 90}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})), Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Ellipse(visible = true, lineColor = {0, 0, 128}, fillColor = {255, 255, 255}, fillPattern = FillPattern.Solid, lineThickness = 4, extent = {{-28.253, -28.253}, {28.253, 28.253}}), Line(visible = true, rotation = -270, points = {{0, 40}, {0, -40}}, color = {0, 0, 128}, thickness = 2.5, arrowSize = 0)}));
6 | end ConstantConverter;
7 |
--------------------------------------------------------------------------------
/BusinessSimulation/Icons/ConstantConverterName.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Icons;
2 |
3 | partial class ConstantConverterName "Icon for converter elements"
4 | annotation(Diagram(coordinateSystem(extent = {{-150, -90}, {150, 90}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})), Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Text(visible = true, origin = {0, -55}, textColor = {64, 64, 64}, extent = {{-150, -12}, {150, 12}}, textString = "%name", fontName = "Lato")}));
5 | end ConstantConverterName;
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Icons/Converter.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Icons;
2 |
3 | partial block Converter "Icon for converter elements"
4 | extends ConverterName;
5 | annotation(Diagram(coordinateSystem(extent = {{-150, -90}, {150, 90}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})), Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Ellipse(visible = true, lineColor = {0, 0, 128}, fillColor = {255, 255, 255}, fillPattern = FillPattern.Solid, lineThickness = 4, extent = {{-60, -60}, {60, 60}})}));
6 | end Converter;
7 |
--------------------------------------------------------------------------------
/BusinessSimulation/Icons/ConverterName.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Icons;
2 |
3 | partial class ConverterName "Icon for converter elements"
4 | annotation(Diagram(coordinateSystem(extent = {{-150, -90}, {150, 90}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})), Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Text(visible = true, origin = {0, -95}, textColor = {64, 64, 64}, extent = {{-150, -12}, {150, 12}}, textString = "%name", fontName = "Lato")}));
5 | end ConverterName;
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Icons/Conveyor.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Icons;
2 |
3 | partial class Conveyor "Icon for conveyor stocks"
4 | extends MaterialStock;
5 | annotation(Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Line(visible = true, origin = {-50.416, -31.706}, points = {{0, 131.706}, {0, -68.294}}, color = {255, 0, 0}, thickness = 4, arrowSize = 1), Line(visible = true, origin = {49.584, -30.259}, points = {{0, 130.747}, {0, -69.741}}, color = {255, 0, 0}, thickness = 4, arrowSize = 1), Line(visible = true, origin = {0, 21.356}, points = {{0, 78.644}, {0, -78.644}}, color = {255, 0, 0}, thickness = 4, arrowSize = 1)}), Diagram(coordinateSystem(extent = {{-148.5, -105}, {148.5, 105}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));
6 | end Conveyor;
7 |
--------------------------------------------------------------------------------
/BusinessSimulation/Icons/CounterClockwiseLoop.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Icons;
2 |
3 | partial class CounterClockwiseLoop "Icon for a clockwise feedback loop"
4 | annotation(__Wolfram(itemFlippingEnabled = true), Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Ellipse(visible = true, lineColor = {64, 64, 64}, fillColor = {255, 255, 255}, lineThickness = 1, extent = {{32.727, -32.727}, {-32.727, 32.727}}, endAngle = 300, closure = EllipseClosure.None), Polygon(visible = true, origin = {-32.933, -1}, lineColor = {64, 64, 64}, fillColor = {64, 64, 64}, fillPattern = FillPattern.Solid, points = {{0, -9}, {5, 5}, {-5, 5}})}), Diagram(coordinateSystem(extent = {{-148.5, -105}, {148.5, 105}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));
5 | end CounterClockwiseLoop;
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Icons/DataInPort.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Icons;
2 |
3 | partial class DataInPort "Icon for an expandable connector for information input"
4 | annotation(Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Polygon(visible = true, lineColor = {0, 0, 128}, fillColor = {0, 0, 128}, fillPattern = FillPattern.Solid, points = {{-100, 100}, {100, 0}, {-100, -100}, {-100, 100}}), Ellipse(visible = true, origin = {-24.747, 0}, lineColor = {255, 170, 0}, fillColor = {255, 170, 0}, fillPattern = FillPattern.Solid, extent = {{-24.747, -24.747}, {24.747, 24.747}})}), Diagram(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Polygon(visible = true, origin = {-100, 0}, lineColor = {0, 0, 128}, fillColor = {0, 0, 128}, fillPattern = FillPattern.Solid, points = {{0, 50}, {100, 0}, {0, -50}, {0, 50}}), Text(visible = true, origin = {0, 80}, textColor = {128, 128, 128}, extent = {{-100, -12}, {100, 12}}, textString = "%name", fontName = "Lato", textStyle = {TextStyle.Bold})}), Documentation);
5 | end DataInPort;
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Icons/DataOutPort.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Icons;
2 |
3 | partial class DataOutPort "Icon for an expandable connector for information output"
4 | annotation(defaultComponentName = "y", Icon(coordinateSystem(preserveAspectRatio = true, extent = {{-100, -100}, {100, 100}}, initialScale = 0.1, grid = {10, 10}), graphics = {Polygon(visible = true, lineColor = {1, 37, 163}, fillColor = {255, 255, 255}, fillPattern = FillPattern.Solid, points = {{-100, 100}, {100, 0}, {-100, -100}}), Ellipse(visible = true, origin = {-24.747, 0}, lineColor = {255, 170, 0}, fillColor = {255, 170, 0}, fillPattern = FillPattern.Solid, extent = {{-24.747, -24.747}, {24.747, 24.747}})}), Diagram(coordinateSystem(preserveAspectRatio = true, extent = {{-100, -100}, {100, 100}}, initialScale = 0.1, grid = {10, 10}), graphics = {Polygon(visible = true, origin = {100, 0}, lineColor = {1, 37, 163}, fillColor = {255, 255, 255}, fillPattern = FillPattern.Solid, points = {{-100, 50}, {0, 0}, {-100, -50}}), Text(visible = true, origin = {0, 80}, textColor = {128, 128, 128}, extent = {{-100, -12}, {100, 12}}, textString = "%name", fontName = "Lato", textStyle = {TextStyle.Bold})}), Documentation);
5 | end DataOutPort;
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Icons/DelayN.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Icons;
2 |
3 | partial class DelayN "Icon for DelayN"
4 | extends MaterialStock;
5 | extends Clockface;
6 | annotation(__Wolfram(itemFlippingEnabled = true), Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10})), Diagram(coordinateSystem(extent = {{-148.5, -105}, {148.5, 105}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));
7 | end DelayN;
8 |
--------------------------------------------------------------------------------
/BusinessSimulation/Icons/DiscreteSmoothLabel.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Icons;
2 |
3 | partial class DiscreteSmoothLabel "Mark converters as discrete"
4 | annotation(Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Text(visible = true, origin = {53.863, 38}, textColor = {0, 0, 128}, extent = {{-16.137, -20}, {16.137, 20}}, textString = "···", fontName = "Lato", textStyle = {TextStyle.Bold})}), Diagram(coordinateSystem(extent = {{-150, -90}, {150, 90}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));
5 | end DiscreteSmoothLabel;
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Icons/DiscreteStockLabel.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Icons;
2 |
3 | partial class DiscreteStockLabel "Mark stock element as discrete"
4 | annotation(Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Text(visible = true, origin = {73.863, 81}, textColor = {128, 0, 128}, extent = {{-16.137, -20}, {16.137, 20}}, textString = "···", fontName = "Lato", textStyle = {TextStyle.Bold})}), Diagram(coordinateSystem(extent = {{-150, -90}, {150, 90}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));
5 | end DiscreteStockLabel;
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Icons/DocumentationInfo.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Icons;
2 |
3 | partial class DocumentationInfo "Diagram for documentation only classes"
4 | annotation(Diagram(coordinateSystem(extent = {{-150, -90}, {150, 90}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5}), graphics = {Text(origin = {0, 15}, textColor = {128, 128, 128}, extent = {{-26.627, -22.475}, {26.627, 22.475}}, textString = "ⓘ", fontName = "Arial"), Text(origin = {0, -15}, textColor = {128, 128, 128}, extent = {{-140, -6}, {140, 6}}, textString = "Documentation Only", fontName = "Arial")}), Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10})));
5 | end DocumentationInfo;
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Icons/Enumeration.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Icons;
2 |
3 | partial class Enumeration "Icon for type enumeration"
4 | annotation(Icon(coordinateSystem(preserveAspectRatio = false, extent = {{-100, -100}, {100, 100}}, initialScale = 0.1, grid = {10, 10}), graphics = {Rectangle(visible = true, lineColor = {76, 112, 136}, fillColor = {255, 255, 255}, fillPattern = FillPattern.Solid, extent = {{-100, -100}, {100, 100}}), Text(visible = true, textColor = {76, 112, 136}, extent = {{-90, -50}, {90, 50}}, textString = "1..n", fontName = "Lato", textStyle = {TextStyle.Bold})}));
5 | end Enumeration;
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Icons/Example.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Icons;
2 |
3 | partial model Example "Icon for an example"
4 | annotation(Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Ellipse(visible = true, lineColor = {76, 112, 136}, fillColor = {255, 255, 255}, fillPattern = FillPattern.Solid, extent = {{-100, -100}, {100, 100}}), Polygon(visible = true, lineColor = {76, 112, 136}, fillColor = {76, 112, 136}, pattern = LinePattern.None, fillPattern = FillPattern.Solid, points = {{-36, 60}, {64, 0}, {-36, -60}, {-36, 60}})}), Diagram(coordinateSystem(extent = {{-148.5, -105}, {148.5, 105}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));
5 | end Example;
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Icons/ExamplesPackage/package.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Icons;
2 |
3 | partial package ExamplesPackage "Icon for packages containing examples"
4 | extends Package;
5 | annotation(Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Polygon(visible = true, origin = {8, 14}, lineColor = {255, 255, 255}, fillColor = {255, 255, 255}, pattern = LinePattern.None, fillPattern = FillPattern.Solid, points = {{-58, 46}, {42, -14}, {-58, -74}, {-58, 46}})}), Diagram(coordinateSystem(extent = {{-148.5, -105}, {148.5, 105}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));
6 | end ExamplesPackage;
7 |
--------------------------------------------------------------------------------
/BusinessSimulation/Icons/ExpandableFlowPort.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Icons;
2 |
3 | partial class ExpandableFlowPort "Icon for expandable flow ports"
4 | annotation(Diagram(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Rectangle(visible = true, origin = {-5, 5}, lineColor = {128, 0, 128}, fillColor = {255, 255, 255}, fillPattern = FillPattern.Solid, lineThickness = 4, extent = {{-55, -55}, {55, 55}}), Text(visible = true, origin = {0, 90}, textColor = {128, 128, 128}, extent = {{-100, -12}, {100, 12}}, textString = "%name", fontName = "Lato", textStyle = {TextStyle.Bold})}), Documentation, Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Rectangle(visible = true, lineColor = {128, 0, 128}, fillColor = {128, 0, 128}, fillPattern = FillPattern.Solid, extent = {{-100, -100}, {100, 100}}), Rectangle(visible = true, lineColor = {255, 255, 255}, fillColor = {255, 255, 255}, fillPattern = FillPattern.Solid, extent = {{-80, -80}, {80, 80}}), Ellipse(visible = true, lineColor = {255, 170, 0}, fillColor = {255, 170, 0}, fillPattern = FillPattern.Solid, extent = {{-24.747, -24.747}, {24.747, 24.747}})}));
5 | end ExpandableFlowPort;
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Icons/ExpandableStockPort.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Icons;
2 |
3 | partial class ExpandableStockPort "Icon for expandable stock ports"
4 | annotation(Diagram(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Rectangle(visible = true, origin = {-5, 5}, lineColor = {128, 0, 128}, fillColor = {128, 0, 128}, fillPattern = FillPattern.Solid, lineThickness = 5, extent = {{-55, -55}, {55, 55}}), Text(visible = true, origin = {-0, 90}, textColor = {128, 128, 128}, extent = {{-100, -12}, {100, 12}}, textString = "%name", fontName = "Lato", textStyle = {TextStyle.Bold})}), Documentation, Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Rectangle(visible = true, lineColor = {128, 0, 128}, fillColor = {255, 255, 255}, fillPattern = FillPattern.Solid, extent = {{-100, -100}, {100, 100}}), Rectangle(visible = true, lineColor = {128, 0, 128}, fillColor = {128, 0, 128}, fillPattern = FillPattern.Solid, extent = {{-80, -80}, {80, 80}}), Ellipse(visible = true, lineColor = {255, 170, 0}, fillColor = {255, 170, 0}, fillPattern = FillPattern.Solid, extent = {{-24.747, -24.747}, {24.747, 24.747}})}));
5 | end ExpandableStockPort;
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Icons/FlowIndicators.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Icons;
2 |
3 | partial class FlowIndicators "Arrows indicating flow"
4 | annotation(Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Polygon(visible = true, origin = {-80.87, 0}, lineColor = {192, 192, 192}, fillColor = {192, 192, 192}, fillPattern = FillPattern.Solid, points = {{-2.435, 13.229}, {-2.435, -13.344}, {4.87, 0.115}}), Polygon(visible = true, origin = {-70.87, 0}, lineColor = {192, 192, 192}, fillColor = {192, 192, 192}, fillPattern = FillPattern.Solid, points = {{-2.435, 13.229}, {-2.435, -13.344}, {4.87, 0.115}}), Polygon(visible = true, origin = {70.439, 0}, lineColor = {192, 192, 192}, fillColor = {192, 192, 192}, fillPattern = FillPattern.Solid, points = {{-2.435, 13.229}, {-2.435, -13.344}, {4.87, 0.115}}), Polygon(visible = true, origin = {80.439, 0}, lineColor = {192, 192, 192}, fillColor = {192, 192, 192}, fillPattern = FillPattern.Solid, points = {{-2.435, 13.229}, {-2.435, -13.344}, {4.87, 0.115}})}), Diagram(coordinateSystem(extent = {{-150, -90}, {150, 90}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));
5 | end FlowIndicators;
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Icons/Function.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Icons;
2 |
3 | partial function Function "Icon for functions"
4 | annotation(Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Ellipse(visible = true, lineColor = {0, 0, 128}, fillColor = {255, 255, 255}, fillPattern = FillPattern.Solid, lineThickness = 5, extent = {{-87.608, -87.608}, {87.608, 87.608}}), Text(visible = true, origin = {-3.757, 8.463}, textColor = {0, 0, 128}, extent = {{-90, -90}, {90, 90}}, textString = "f", fontName = "Lato", textStyle = {TextStyle.Italic}), Text(visible = true, origin = {0, 112}, textColor = {64, 64, 64}, extent = {{-100, -12}, {100, 12}}, textString = "%name", fontName = "Lato")}), Diagram(coordinateSystem(extent = {{-148.5, -105}, {148.5, 105}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));
5 | end Function;
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Icons/FunctionLetter.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Icons;
2 |
3 | partial class FunctionLetter "FunctionLetter typically added for general function converters"
4 | annotation(Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Text(visible = true, origin = {-2.676, 5.698}, textColor = {0, 0, 128}, extent = {{-40.145, -40.145}, {40.145, 40.145}}, textString = "f", fontName = "Lato", textStyle = {TextStyle.Italic})}), Diagram(coordinateSystem(extent = {{-150, -90}, {150, 90}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));
5 | end FunctionLetter;
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Icons/FunctionsPackage/package.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Icons;
2 |
3 | partial package FunctionsPackage "Functions package icon"
4 | extends Package;
5 | annotation(Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Text(visible = true, origin = {15.113, -2.4}, textColor = {255, 255, 255}, extent = {{-40.266, -40.266}, {40.266, 40.266}}, textString = "(•)", fontName = "Lato"), Text(visible = true, origin = {-45, 15}, textColor = {255, 255, 255}, extent = {{-75, -75}, {75, 75}}, textString = "f", fontName = "Lato", textStyle = {TextStyle.Italic})}), Diagram(coordinateSystem(extent = {{-148.5, -105}, {148.5, 105}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));
6 | end FunctionsPackage;
7 |
--------------------------------------------------------------------------------
/BusinessSimulation/Icons/IconsPackage/package.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Icons;
2 |
3 | partial package IconsPackage "Icon for an icons package"
4 | extends Package;
5 | annotation(Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Polygon(visible = true, origin = {-8.167, -17}, fillColor = {255, 255, 255}, pattern = LinePattern.None, fillPattern = FillPattern.Solid, points = {{-15.833, 20}, {-15.833, 30}, {14.167, 40}, {24.167, 20}, {4.167, -30}, {14.167, -30}, {24.167, -30}, {24.167, -40}, {-5.833, -50}, {-15.833, -30}, {4.167, 20}, {-5.833, 20}}, smooth = Smooth.Bezier), Ellipse(visible = true, origin = {-0.5, 56.5}, fillColor = {255, 255, 255}, pattern = LinePattern.None, fillPattern = FillPattern.Solid, extent = {{-12.5, -12.5}, {12.5, 12.5}})}), Diagram(coordinateSystem(extent = {{-148.5, -105}, {148.5, 105}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));
6 | end IconsPackage;
7 |
--------------------------------------------------------------------------------
/BusinessSimulation/Icons/IncubatorsPackage/package.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Icons;
2 |
3 | partial package IncubatorsPackage "Incubators package icon"
4 | extends Package;
5 | annotation(Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Rectangle(visible = true, origin = {0, 5}, lineColor = {255, 255, 255}, fillColor = {255, 255, 255}, lineThickness = 4, extent = {{-62.764, -53.47}, {62.764, 53.47}}), Rectangle(visible = true, origin = {-62.781, 4.645}, lineColor = {255, 255, 255}, fillColor = {76, 112, 136}, fillPattern = FillPattern.Solid, lineThickness = 4, extent = {{-10.968, -11.451}, {10.968, 11.451}}), Rectangle(visible = true, origin = {62.219, 4.645}, lineColor = {255, 255, 255}, fillColor = {76, 112, 136}, fillPattern = FillPattern.Solid, lineThickness = 4, extent = {{-10.968, -11.451}, {10.968, 11.451}})}), Diagram(coordinateSystem(extent = {{-148.5, -105}, {148.5, 105}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));
6 | end IncubatorsPackage;
7 |
--------------------------------------------------------------------------------
/BusinessSimulation/Icons/Info.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Icons;
2 |
3 | partial class Info "Icon for information pages (UsersGuide)"
4 | annotation(Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Ellipse(visible = true, lineColor = {255, 170, 0}, fillColor = {255, 170, 0}, fillPattern = FillPattern.Solid, lineThickness = 5, extent = {{-95, -95}, {95, 95}}), Polygon(visible = true, origin = {-4.167, -15}, fillColor = {255, 255, 255}, pattern = LinePattern.None, fillPattern = FillPattern.Solid, points = {{-15.833, 20}, {-15.833, 30}, {14.167, 40}, {24.167, 20}, {4.167, -30}, {14.167, -30}, {24.167, -30}, {24.167, -40}, {-5.833, -50}, {-15.833, -30}, {4.167, 20}, {-5.833, 20}}, smooth = Smooth.Bezier), Ellipse(visible = true, origin = {7.5, 56.5}, fillColor = {255, 255, 255}, pattern = LinePattern.None, fillPattern = FillPattern.Solid, extent = {{-12.5, -12.5}, {12.5, 12.5}})}), Diagram(coordinateSystem(extent = {{-150, -90}, {150, 90}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));
5 | end Info;
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Icons/InfoFlowIndicatorDiagram.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Icons;
2 |
3 | partial class InfoFlowIndicatorDiagram "Icon to indicate direction of information flow in a diagram"
4 | annotation(Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Rectangle(visible = true, origin = {-4, 0}, lineColor = {0, 0, 128}, fillColor = {0, 0, 128}, fillPattern = FillPattern.Solid, extent = {{-20, -2.029}, {20, 2.029}}), Polygon(visible = true, origin = {21, 0}, rotation = -90, lineColor = {0, 0, 128}, fillColor = {0, 0, 128}, fillPattern = FillPattern.Solid, points = {{0, 9}, {5, -5}, {-5, -5}})}), Diagram(coordinateSystem(extent = {{-148.5, -105}, {148.5, 105}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));
5 | end InfoFlowIndicatorDiagram;
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Icons/InformationProcessing.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Icons;
2 |
3 | partial block InformationProcessing "Icon for information processing molecules"
4 | extends ComponentName;
5 | annotation(__Wolfram(itemFlippingEnabled = true), Diagram(coordinateSystem(extent = {{-150, -90}, {150, 90}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})), Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Ellipse(visible = true, lineColor = {0, 0, 128}, fillColor = {255, 255, 255}, fillPattern = FillPattern.Solid, lineThickness = 4, extent = {{-90, -90}, {90, 90}}), Rectangle(visible = true, origin = {0, 52.225}, lineColor = {0, 0, 128}, fillColor = {0, 0, 128}, lineThickness = 1, extent = {{-15.899, -19.317}, {15.899, 19.317}}, radius = 10), Text(visible = true, origin = {0.5, 52.448}, textColor = {0, 0, 128}, extent = {{-15.5, -20}, {15.5, 20}}, textString = "i", fontName = "Courier New")}));
6 | end InformationProcessing;
7 |
--------------------------------------------------------------------------------
/BusinessSimulation/Icons/InformationProcessingPackage/package.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Icons;
2 |
3 | partial package InformationProcessingPackage "Information processing package icon"
4 | extends Package;
5 | annotation(Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Ellipse(visible = true, lineColor = {255, 255, 255}, fillColor = {255, 255, 255}, lineThickness = 4, extent = {{-53.126, -53.126}, {53.126, 53.126}}), Text(visible = true, textColor = {255, 255, 255}, extent = {{-23.482, -40}, {23.482, 40}}, textString = "i", fontName = "Courier New", textStyle = {TextStyle.Bold})}), Diagram(coordinateSystem(extent = {{-148.5, -105}, {148.5, 105}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));
6 | end InformationProcessingPackage;
7 |
--------------------------------------------------------------------------------
/BusinessSimulation/Icons/InformationSourceIndicator.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Icons;
2 |
3 | partial block InformationSourceIndicator "Icon used to indicate external information"
4 | annotation(Diagram(coordinateSystem(extent = {{-150, -90}, {150, 90}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})), Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Ellipse(visible = true, lineColor = {0, 0, 128}, fillColor = {76, 112, 136}, pattern = LinePattern.None, fillPattern = FillPattern.Solid, lineThickness = 5, extent = {{-60, -60}, {60, 60}})}));
5 | end InformationSourceIndicator;
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Icons/InformationSources/package.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Icons;
2 |
3 | partial package InformationSources "Package Icon for Information Sources"
4 | extends Package;
5 | annotation(Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Rectangle(visible = true, lineColor = {128, 128, 128}, extent = {{-100, -100}, {100, 100}}, radius = 25), Polygon(visible = true, origin = {23.333, 0}, lineColor = {255, 255, 255}, fillColor = {255, 255, 255}, pattern = LinePattern.None, fillPattern = FillPattern.Solid, points = {{-23.333, 30}, {46.667, 0}, {-23.333, -30}}), Rectangle(visible = true, lineColor = {255, 255, 255}, fillColor = {255, 255, 255}, pattern = LinePattern.None, fillPattern = FillPattern.Solid, extent = {{-70, -4.5}, {0, 4.5}})}), Diagram(coordinateSystem(extent = {{-148.5, -105}, {148.5, 105}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));
6 | end InformationSources;
7 |
--------------------------------------------------------------------------------
/BusinessSimulation/Icons/IntegerInput.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Icons;
2 |
3 | partial class IntegerInput "Icon for integer input"
4 | annotation(defaultComponentName = "u", Diagram(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Polygon(visible = true, lineColor = {255, 123, 0}, fillColor = {255, 123, 0}, fillPattern = FillPattern.Solid, points = {{0, 50}, {100, 0}, {0, -50}, {0, 50}}), Text(visible = true, origin = {0, 80}, textColor = {128, 128, 128}, extent = {{-100, -12}, {100, 12}}, textString = "%name", fontName = "Lato", textStyle = {TextStyle.Bold})}), Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Polygon(visible = true, lineColor = {255, 123, 0}, fillColor = {255, 123, 0}, fillPattern = FillPattern.Solid, points = {{-100, 100}, {100, 0}, {-100, -100}, {-100, 100}})}), Documentation(info = ""));
5 | end IntegerInput;
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Icons/IntegerOutput.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Icons;
2 |
3 | partial class IntegerOutput "Icon for integer output"
4 | annotation(defaultComponentName = "y", Icon(coordinateSystem(preserveAspectRatio = true, extent = {{-100, -100}, {100, 100}}, initialScale = 0.1, grid = {10, 10}), graphics = {Polygon(visible = true, lineColor = {255, 123, 0}, fillColor = {255, 255, 255}, fillPattern = FillPattern.Solid, points = {{-100, 100}, {100, 0}, {-100, -100}})}), Diagram(coordinateSystem(preserveAspectRatio = true, extent = {{-100, -100}, {100, 100}}, initialScale = 0.1, grid = {10, 10}), graphics = {Polygon(visible = true, lineColor = {255, 123, 0}, fillColor = {255, 255, 255}, fillPattern = FillPattern.Solid, points = {{-100, 50}, {0, 0}, {-100, -50}}), Text(visible = true, origin = {0, 80}, textColor = {128, 128, 128}, extent = {{-100, -12}, {100, 12}}, textString = "%name", fontName = "Lato", textStyle = {TextStyle.Bold})}), Documentation);
5 | end IntegerOutput;
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Icons/InterfacesPackage/package.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Icons;
2 |
3 | partial package InterfacesPackage "Icon for an interfaces package"
4 | extends Package;
5 | annotation(Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Polygon(visible = true, origin = {20, 0}, lineColor = {64, 64, 64}, fillColor = {255, 255, 255}, fillPattern = FillPattern.Solid, points = {{-10, 70}, {10, 70}, {40, 20}, {80, 20}, {80, -20}, {40, -20}, {10, -70}, {-10, -70}}), Polygon(visible = true, fillColor = {255, 255, 255}, pattern = LinePattern.None, fillPattern = FillPattern.Solid, points = {{-100, 20}, {-60, 20}, {-30, 70}, {-10, 70}, {-10, -70}, {-30, -70}, {-60, -20}, {-100, -20}})}), Diagram(coordinateSystem(extent = {{-148.5, -105}, {148.5, 105}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));
6 | end InterfacesPackage;
7 |
--------------------------------------------------------------------------------
/BusinessSimulation/Icons/MatFlowIndicatorDiagram.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Icons;
2 |
3 | partial class MatFlowIndicatorDiagram "Icon to indicate direction of material flows in a diagram"
4 | annotation(Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Rectangle(visible = true, origin = {-4, 0}, lineColor = {128, 0, 128}, fillColor = {128, 0, 128}, fillPattern = FillPattern.Solid, extent = {{-20, -2.029}, {20, 2.029}}), Polygon(visible = true, origin = {21, 0}, rotation = -90, lineColor = {128, 0, 128}, fillColor = {128, 0, 128}, fillPattern = FillPattern.Solid, points = {{0, 9}, {5, -5}, {-5, -5}})}), Diagram(coordinateSystem(extent = {{-148.5, -105}, {148.5, 105}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));
5 | end MatFlowIndicatorDiagram;
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Icons/MaterialStock.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Icons;
2 |
3 | partial class MaterialStock "General Icon for material stocks"
4 | extends Stock;
5 | extends MaterialStockIndicator;
6 | annotation(Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10})), Diagram(coordinateSystem(extent = {{-148.5, -105}, {148.5, 105}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));
7 | end MaterialStock;
8 |
--------------------------------------------------------------------------------
/BusinessSimulation/Icons/MaterialStockIndicator.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Icons;
2 |
3 | partial class MaterialStockIndicator "General Icon for stocks"
4 | extends ComponentName;
5 | annotation(Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Text(visible = true, origin = {-81.678, 80}, textColor = {128, 0, 128}, extent = {{-16.137, -20}, {16.137, 20}}, textString = "+", fontName = "Lato", textStyle = {TextStyle.Bold})}), Diagram(coordinateSystem(extent = {{-148.5, -105}, {148.5, 105}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));
6 | end MaterialStockIndicator;
7 |
--------------------------------------------------------------------------------
/BusinessSimulation/Icons/MultiInput.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Icons;
2 |
3 | partial class MultiInput "Icon for multiple inputs"
4 | annotation(defaultComponentName = "u", Diagram(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Polygon(visible = true, lineColor = {5, 5, 125}, fillColor = {5, 5, 125}, fillPattern = FillPattern.Solid, points = {{0, 50}, {100, 0}, {0, -50}, {0, 50}}), Text(visible = true, origin = {0, 80}, textColor = {128, 128, 128}, extent = {{-100, -12}, {100, 12}}, textString = "%name", fontName = "Lato", textStyle = {TextStyle.Bold})}), Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Polygon(visible = true, lineColor = {0, 0, 128}, fillColor = {0, 0, 128}, fillPattern = FillPattern.Solid, points = {{-100, 100}, {100, 0}, {-100, -100}, {-100, 100}}), Ellipse(visible = true, origin = {-24.747, 0}, lineColor = {255, 255, 255}, fillColor = {255, 255, 255}, fillPattern = FillPattern.Solid, extent = {{-24.747, -24.747}, {24.747, 24.747}})}), Documentation(info = ""));
5 | end MultiInput;
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Icons/MultiIntegerInput.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Icons;
2 |
3 | partial class MultiIntegerInput "Icon for multiple integer inputs"
4 | annotation(defaultComponentName = "u", Diagram(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Polygon(visible = true, lineColor = {5, 5, 125}, fillColor = {5, 5, 125}, fillPattern = FillPattern.Solid, points = {{0, 50}, {100, 0}, {0, -50}, {0, 50}}), Text(visible = true, origin = {0, 80}, textColor = {128, 128, 128}, extent = {{-100, -12}, {100, 12}}, textString = "%name", fontName = "Lato", textStyle = {TextStyle.Bold})}), Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Polygon(visible = true, lineColor = {255, 123, 0}, fillColor = {255, 123, 0}, fillPattern = FillPattern.Solid, points = {{-100, 100}, {100, 0}, {-100, -100}, {-100, 100}}), Ellipse(visible = true, origin = {-24.747, 0}, lineColor = {255, 255, 255}, fillColor = {255, 255, 255}, fillPattern = FillPattern.Solid, extent = {{-24.747, -24.747}, {24.747, 24.747}})}), Documentation(info = ""));
5 | end MultiIntegerInput;
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Icons/MultiIntegerOutput.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Icons;
2 |
3 | partial class MultiIntegerOutput "Icon for multiple outputs"
4 | annotation(defaultComponentName = "y", Icon(coordinateSystem(preserveAspectRatio = true, extent = {{-100, -100}, {100, 100}}, initialScale = 0.1, grid = {10, 10}), graphics = {Polygon(visible = true, lineColor = {255, 123, 0}, fillColor = {255, 255, 255}, fillPattern = FillPattern.Solid, points = {{-100, 100}, {100, 0}, {-100, -100}}), Ellipse(visible = true, origin = {-24.747, 0}, lineColor = {255, 255, 255}, fillColor = {255, 123, 0}, fillPattern = FillPattern.Solid, extent = {{-24.747, -24.747}, {24.747, 24.747}})}), Diagram(coordinateSystem(preserveAspectRatio = true, extent = {{-100, -100}, {100, 100}}, initialScale = 0.1, grid = {10, 10}), graphics = {Polygon(visible = true, lineColor = {255, 123, 0}, fillColor = {255, 255, 255}, fillPattern = FillPattern.Solid, points = {{-100, 50}, {0, 0}, {-100, -50}}), Text(visible = true, origin = {0, 80}, textColor = {128, 128, 128}, extent = {{-100, -12}, {100, 12}}, textString = "%name", fontName = "Lato", textStyle = {TextStyle.Bold})}), Documentation);
5 | end MultiIntegerOutput;
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Icons/MultiOutput.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Icons;
2 |
3 | partial class MultiOutput "Icon for multiple outputs"
4 | annotation(defaultComponentName = "y", Icon(coordinateSystem(preserveAspectRatio = true, extent = {{-100, -100}, {100, 100}}, initialScale = 0.1, grid = {10, 10}), graphics = {Polygon(visible = true, lineColor = {1, 37, 163}, fillColor = {255, 255, 255}, fillPattern = FillPattern.Solid, points = {{-100, 100}, {100, 0}, {-100, -100}}), Ellipse(visible = true, origin = {-24.747, 0}, lineColor = {255, 255, 255}, fillColor = {0, 0, 128}, fillPattern = FillPattern.Solid, extent = {{-24.747, -24.747}, {24.747, 24.747}})}), Diagram(coordinateSystem(preserveAspectRatio = true, extent = {{-100, -100}, {100, 100}}, initialScale = 0.1, grid = {10, 10}), graphics = {Polygon(visible = true, lineColor = {1, 37, 163}, fillColor = {255, 255, 255}, fillPattern = FillPattern.Solid, points = {{-100, 50}, {0, 0}, {-100, -50}}), Text(visible = true, origin = {0, 80}, textColor = {128, 128, 128}, extent = {{-100, -12}, {100, 12}}, textString = "%name", fontName = "Lato", textStyle = {TextStyle.Bold})}), Documentation);
5 | end MultiOutput;
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Icons/Oven.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Icons;
2 |
3 | partial class Oven "Icon for ovens"
4 | extends DelayN;
5 | annotation(__Wolfram(itemFlippingEnabled = true), Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Rectangle(visible = true, lineColor = {255, 0, 0}, fillColor = {255, 255, 255}, lineThickness = 4, extent = {{-60, -60}, {60, 60}})}), Diagram(coordinateSystem(extent = {{-148.5, -105}, {148.5, 105}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));
6 | end Oven;
7 |
--------------------------------------------------------------------------------
/BusinessSimulation/Icons/Package/package.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Icons;
2 |
3 | partial package Package "Basic package icon"
4 | annotation(Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Rectangle(visible = true, lineColor = {76, 112, 136}, fillColor = {113, 166, 201}, pattern = LinePattern.None, fillPattern = FillPattern.HorizontalCylinder, lineThickness = 4, extent = {{-100, -100}, {100, 100}}, radius = 25)}), Diagram(coordinateSystem(extent = {{-148.5, -105}, {148.5, 105}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));
5 | end Package;
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Icons/Policy.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Icons;
2 |
3 | partial block Policy "Policy Block (Controller)"
4 | extends ComponentName;
5 | annotation(Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Ellipse(visible = true, lineColor = {0, 0, 128}, fillColor = {255, 255, 255}, fillPattern = FillPattern.Solid, lineThickness = 4, extent = {{-90, -90}, {90, 90}}), Line(visible = true, origin = {0.067, 70}, rotation = -90, points = {{0, 55.552}, {0, -55.552}}, color = {0, 0, 128}, thickness = 2.5, arrowSize = 0), Line(visible = true, origin = {0.335, -70}, rotation = -90, points = {{0, 55.955}, {0, -55.955}}, color = {0, 0, 128}, thickness = 2.5, arrowSize = 0)}), Diagram(coordinateSystem(extent = {{-148.5, -105}, {148.5, 105}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));
6 | end Policy;
7 |
--------------------------------------------------------------------------------
/BusinessSimulation/Icons/PolicyPackage/package.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Icons;
2 |
3 | partial package PolicyPackage "Policy package icon"
4 | extends Package;
5 | annotation(Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Ellipse(visible = true, lineColor = {255, 255, 255}, fillColor = {255, 255, 255}, lineThickness = 4, extent = {{-53.126, -53.126}, {53.126, 53.126}}), Line(visible = true, origin = {-0.092, 30}, rotation = -90, points = {{0, 43.231}, {0, -43.231}}, color = {255, 255, 255}, thickness = 4), Line(visible = true, origin = {0, -30}, rotation = -90, points = {{0, 43.231}, {0, -43.231}}, color = {255, 255, 255}, thickness = 4), Text(visible = true, textColor = {255, 255, 255}, extent = {{-23.482, -30}, {23.482, 30}}, textString = "?", fontName = "Arial")}), Diagram(coordinateSystem(extent = {{-148.5, -105}, {148.5, 105}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));
6 | end PolicyPackage;
7 |
--------------------------------------------------------------------------------
/BusinessSimulation/Icons/Queue.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Icons;
2 |
3 | partial class Queue "Icon for queues"
4 | extends MaterialStock;
5 | annotation(Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Line(visible = true, origin = {0, 21.356}, points = {{0, 78.644}, {0, -78.644}}, color = {255, 0, 0}, thickness = 4, arrowSize = 1), Line(visible = true, origin = {-50, -22.696}, points = {{0, 77.304}, {0, -77.304}}, color = {255, 0, 0}, thickness = 4, arrowSize = 1), Line(visible = true, origin = {50, -22.696}, points = {{0, 77.304}, {0, -77.304}}, color = {255, 0, 0}, thickness = 4, arrowSize = 1)}), Diagram(coordinateSystem(extent = {{-148.5, -105}, {148.5, 105}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));
6 | end Queue;
7 |
--------------------------------------------------------------------------------
/BusinessSimulation/Icons/RealInput.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Icons;
2 |
3 | partial class RealInput "Icon for real input signals"
4 | annotation(defaultComponentName = "u", Diagram(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Polygon(visible = true, lineColor = {5, 5, 125}, fillColor = {5, 5, 125}, fillPattern = FillPattern.Solid, points = {{0, 50}, {100, 0}, {0, -50}, {0, 50}}), Text(visible = true, origin = {0, 80}, textColor = {128, 128, 128}, extent = {{-100, -12}, {100, 12}}, textString = "%name", fontName = "Lato", textStyle = {TextStyle.Bold})}), Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Polygon(visible = true, lineColor = {0, 0, 128}, fillColor = {0, 0, 128}, fillPattern = FillPattern.Solid, points = {{-100, 100}, {100, 0}, {-100, -100}, {-100, 100}})}), Documentation(info = ""));
5 | end RealInput;
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Icons/RealOutput.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Icons;
2 |
3 | partial class RealOutput "Icon for real output signals"
4 | annotation(defaultComponentName = "y", Icon(coordinateSystem(preserveAspectRatio = true, extent = {{-100, -100}, {100, 100}}, initialScale = 0.1, grid = {10, 10}), graphics = {Polygon(visible = true, lineColor = {1, 37, 163}, fillColor = {255, 255, 255}, fillPattern = FillPattern.Solid, points = {{-100, 100}, {100, 0}, {-100, -100}})}), Diagram(coordinateSystem(preserveAspectRatio = true, extent = {{-100, -100}, {100, 100}}, initialScale = 0.1, grid = {10, 10}), graphics = {Polygon(visible = true, lineColor = {1, 37, 163}, fillColor = {255, 255, 255}, fillPattern = FillPattern.Solid, points = {{-100, 50}, {0, 0}, {-100, -50}}), Text(visible = true, origin = {0, 80}, textColor = {128, 128, 128}, extent = {{-100, -12}, {100, 12}}, textString = "%name", fontName = "Lato", textStyle = {TextStyle.Bold})}), Documentation);
5 | end RealOutput;
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Icons/Record.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Icons;
2 |
3 | partial class Record "Icon for records"
4 | extends Icons.ComponentName;
5 | annotation(Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Rectangle(visible = true, origin = {0, -25}, lineColor = {64, 64, 64}, fillColor = {255, 215, 136}, fillPattern = FillPattern.Solid, extent = {{-100, -75}, {100, 75}}, radius = 25), Rectangle(visible = true, origin = {0, -25}, lineColor = {255, 255, 255}, fillColor = {76, 112, 136}, fillPattern = FillPattern.Solid, extent = {{-100, -75}, {100, 75}}, radius = 25), Line(visible = true, points = {{-100, 0}, {100, 0}}, color = {255, 255, 255}), Line(visible = true, origin = {0, -50}, points = {{-100, 0}, {100, 0}}, color = {255, 255, 255}), Line(visible = true, origin = {0, -25}, points = {{0, 75}, {0, -75}}, color = {255, 255, 255})}), Diagram(coordinateSystem(extent = {{-148.5, -105}, {148.5, 105}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));
6 | end Record;
7 |
--------------------------------------------------------------------------------
/BusinessSimulation/Icons/Smooth.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Icons;
2 |
3 | partial class Smooth "Icon to be used for converters that contain stocks"
4 | extends ConverterName;
5 | annotation(Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Rectangle(visible = true, lineColor = {0, 0, 128}, fillColor = {255, 255, 255}, fillPattern = FillPattern.Solid, lineThickness = 5, extent = {{-80, -50}, {80, 50}})}), Diagram(coordinateSystem(extent = {{-150, -90}, {150, 90}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));
6 | end Smooth;
7 |
--------------------------------------------------------------------------------
/BusinessSimulation/Icons/Stock.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Icons;
2 |
3 | partial class Stock "General Icon for stocks"
4 | extends ComponentName;
5 | annotation(Documentation(revisions = "
6 |
7 | Since all stock classes will show their initial Value in the icon, the display of %initialValue
was added here in v2.1.0.
8 |
9 | "), Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Rectangle(visible = true, lineColor = {255, 0, 0}, fillColor = {255, 255, 255}, fillPattern = FillPattern.Solid, lineThickness = 4, extent = {{-100, -100}, {100, 100}}), Text(visible = true, origin = {0, -80}, textColor = {0, 0, 128}, extent = {{-100, -6}, {100, 6}}, textString = "%initialValue", fontName = "Lato")}), Diagram(coordinateSystem(extent = {{-148.5, -105}, {148.5, 105}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));
10 | end Stock;
11 |
--------------------------------------------------------------------------------
/BusinessSimulation/Icons/Theta.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Icons;
2 |
3 | partial class Theta "Icon for a class providing global parameters"
4 | extends ConverterName;
5 | annotation(Diagram(coordinateSystem(extent = {{-150, -90}, {150, 90}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})), Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Rectangle(visible = true, lineColor = {192, 192, 192}, fillColor = {255, 255, 255}, fillPattern = FillPattern.Solid, lineThickness = 1, extent = {{-50, -50}, {50, 50}}), Text(visible = true, textColor = {0, 0, 128}, extent = {{-100, -24}, {100, 24}}, textString = "θ", fontName = "Lato", textStyle = {TextStyle.Bold, TextStyle.Italic})}));
6 | end Theta;
7 |
--------------------------------------------------------------------------------
/BusinessSimulation/Icons/TransceiversPackage/package.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Icons;
2 |
3 | partial package TransceiversPackage "Transceivers package icon"
4 | extends Package;
5 | annotation(Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Rectangle(visible = true, origin = {0, 5}, lineColor = {255, 255, 255}, fillColor = {255, 255, 255}, lineThickness = 4, extent = {{-62.764, -53.47}, {62.764, 53.47}}), Rectangle(visible = true, origin = {-62.781, 4.645}, lineColor = {255, 255, 255}, fillColor = {76, 112, 136}, fillPattern = FillPattern.Solid, lineThickness = 4, extent = {{-10.968, -11.451}, {10.968, 11.451}}), Rectangle(visible = true, origin = {62.219, 4.645}, lineColor = {255, 255, 255}, fillColor = {255, 255, 255}, fillPattern = FillPattern.Solid, lineThickness = 4, extent = {{-10.968, -11.451}, {10.968, 11.451}})}), Diagram(coordinateSystem(extent = {{-148.5, -105}, {148.5, 105}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));
6 | end TransceiversPackage;
7 |
--------------------------------------------------------------------------------
/BusinessSimulation/Icons/TypesPackage/package.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Icons;
2 |
3 | partial package TypesPackage "Icon for a types package"
4 | extends Package;
5 | annotation(Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Polygon(visible = true, origin = {-12.167, -23}, fillColor = {255, 255, 255}, pattern = LinePattern.None, fillPattern = FillPattern.Solid, points = {{12.167, 65}, {14.167, 93}, {36.167, 89}, {24.167, 20}, {4.167, -30}, {14.167, -30}, {24.167, -30}, {24.167, -40}, {-5.833, -50}, {-15.833, -30}, {4.167, 20}, {12.167, 65}}, smooth = Smooth.Bezier), Polygon(visible = true, origin = {2.74, 1.667}, fillColor = {255, 255, 255}, pattern = LinePattern.None, fillPattern = FillPattern.Solid, points = {{49.26, 22.333}, {31.26, 24.333}, {7.26, 18.333}, {-26.74, 10.333}, {-46.74, 14.333}, {-48.74, 6.333}, {-32.74, 0.333}, {-6.74, 4.333}, {33.26, 14.333}, {49.26, 14.333}, {49.26, 22.333}}, smooth = Smooth.Bezier)}), Diagram(coordinateSystem(extent = {{-148.5, -105}, {148.5, 105}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));
6 | end TypesPackage;
7 |
--------------------------------------------------------------------------------
/BusinessSimulation/Icons/UnitsPackage/package.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Icons;
2 |
3 | partial package UnitsPackage "Units package icon"
4 | extends Package;
5 | annotation(Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Text(visible = true, origin = {0, 10}, textColor = {255, 255, 255}, extent = {{-53.838, -67.501}, {53.838, 67.501}}, textString = "kg", fontName = "Lato", textStyle = {TextStyle.Bold})}), Diagram(coordinateSystem(extent = {{-148.5, -105}, {148.5, 105}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));
6 | end UnitsPackage;
7 |
--------------------------------------------------------------------------------
/BusinessSimulation/Icons/VariantsPackage/package.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Icons;
2 |
3 | partial package VariantsPackage "Variants class package icon"
4 | extends Package;
5 | annotation(Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Ellipse(visible = true, origin = {-40, 40}, lineColor = {128, 128, 128}, fillColor = {255, 255, 255}, fillPattern = FillPattern.Solid, extent = {{-30, -30}, {30, 30}}), Ellipse(visible = true, origin = {40, 40}, lineColor = {128, 128, 128}, fillColor = {255, 255, 255}, fillPattern = FillPattern.Solid, extent = {{-30, -30}, {30, 30}}), Ellipse(visible = true, origin = {-40, -40}, lineColor = {128, 128, 128}, fillColor = {255, 255, 255}, fillPattern = FillPattern.Solid, extent = {{-30, -30}, {30, 30}})}), Diagram(coordinateSystem(extent = {{-148.5, -105}, {148.5, 105}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));
6 | end VariantsPackage;
7 |
--------------------------------------------------------------------------------
/BusinessSimulation/Icons/World.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Icons;
2 |
3 | partial class World "Icon to represent the world or the environment"
4 | extends ComponentName;
5 | annotation(Diagram(coordinateSystem(extent = {{-150, -90}, {150, 90}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})), Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Bitmap(visible = true, origin = {0, -5.282}, fileName = "modelica://BusinessSimulation/Resources/Images/Icons/World/World.png", imageSource = "", extent = {{-97.75, -57.683}, {97.75, 57.683}})}));
6 | end World;
7 |
--------------------------------------------------------------------------------
/BusinessSimulation/InformationSources/package.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation;
2 |
3 | package InformationSources "External information input"
4 | extends Icons.InformationSources;
5 | annotation(Documentation(info = "
6 | This information is part of the Business Simulation Library (BSL). Please support this work and ► donate .
7 | This package contains sources that provide continuous information (signals). Next to a ConstantInput
there are typical test inputs (StepInput, RampInput, PulseInput, SineInput
), inputs of time (TimeInput, ConvertedTimeInput
), and interpolation tables (LinearTimeTable, ExogenousData
).
8 |
9 | Copyright © 2020 Guido Wolf Reichert Licensed under the EUPL-1.2 or later
10 | "), Diagram(coordinateSystem(extent = {{-148.5, -105}, {148.5, 105}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));
11 | end InformationSources;
12 |
--------------------------------------------------------------------------------
/BusinessSimulation/InformationSources/package.order:
--------------------------------------------------------------------------------
1 | ConstantInput
2 | ConstantInputRate
3 | ConstantInputTime
4 | ExogenousData
5 | LinearTimeTable
6 | PulseInput
7 | RampInput
8 | SineInput
9 | StepInput
10 | TimeInput
11 | TimeInputConverted
12 |
--------------------------------------------------------------------------------
/BusinessSimulation/Interfaces/Basics/BaseConverter.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Interfaces.Basics;
2 |
3 | encapsulated partial block BaseConverter "Basic converter class"
4 | import BusinessSimulation.Icons.Converter;
5 | import BusinessSimulation.Interfaces.Basics.OutputTypeChoice;
6 | import BusinessSimulation.Units.*;
7 | extends Converter;
8 | extends OutputTypeChoice;
9 | annotation(Documentation(info = "
10 | This information is part of the Business Simulation Library (BSL). Please support this work and ► donate .
11 | Partial block extending from Icons.Converter and →OutputTypeChoice . This is the base class for Converter components.
12 | "), Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10})), Diagram(coordinateSystem(extent = {{-150, -90}, {150, 90}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));
13 | end BaseConverter;
14 |
--------------------------------------------------------------------------------
/BusinessSimulation/Interfaces/Basics/BaseInformationProcessing.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Interfaces.Basics;
2 |
3 | partial block BaseInformationProcessing "Basic information processing class"
4 | extends Icons.InformationProcessing;
5 | extends OutputTypeChoice;
6 | annotation(Documentation(info = "
7 | This information is part of the Business Simulation Library (BSL). Please support this work and ► donate .
8 | Partial block extending from Icons.InformationProcessing and →OutputTypeChoice . This is the base class for InformationProcessing-related components.
9 | See also
10 | MoleculesOfStructure.InformationProcessing
11 | "), Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10})), Diagram(coordinateSystem(extent = {{-150, -90}, {150, 90}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));
12 | end BaseInformationProcessing;
13 |
--------------------------------------------------------------------------------
/BusinessSimulation/Interfaces/Basics/BasePolicy.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Interfaces.Basics;
2 |
3 | partial block BasePolicy "Basic policy class"
4 | extends Icons.Policy;
5 | extends OutputTypeChoice;
6 | annotation(Documentation(info = "
7 | This information is part of the Business Simulation Library (BSL). Please support this work and ► donate .
8 | Partial block extending from Icons.Policy and →OutputTypeChoice . This is the base class for Policy-related components.
9 | See also
10 | MoleculesOfStructure.Policy
"), Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10})), Diagram(coordinateSystem(extent = {{-150, -90}, {150, 90}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));
11 | end BasePolicy;
12 |
--------------------------------------------------------------------------------
/BusinessSimulation/Interfaces/Basics/GenericSmooth.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Interfaces.Basics;
2 |
3 | partial block GenericSmooth "Partial smooth-like converter class"
4 | extends Icons.Smooth;
5 | extends OutputTypeChoice;
6 | annotation(Documentation(info = "
7 | This information is part of the Business Simulation Library (BSL). Please support this work and ► donate .
8 | Partial block extending from Icons.Smooth and →OutputTypeChoice . This is the base class for Smooth-like Converters.
9 | "), Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10})), Diagram(coordinateSystem(extent = {{-148.5, -105}, {148.5, 105}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));
10 | end GenericSmooth;
11 |
--------------------------------------------------------------------------------
/BusinessSimulation/Interfaces/Basics/SingleInput.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Interfaces.Basics;
2 |
3 | partial model SingleInput "Single Input to Stock, Flow, or Source/Sink component"
4 | input Connectors.RealInput u "Input signal" annotation(Placement(visible = true, transformation(origin = {-145, 40}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {-50, 100}, extent = {{10, 10}, {-10, -10}}, rotation = -270)));
5 | annotation(Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10})), Documentation(info = "
6 | This information is part of the Business Simulation Library (BSL). Please support this work and ► donate .
7 | Partial model with a single Real input connector u
. This class is typically used by Stock, Flow or SourcesOrSinks components to allow for an unnamed input connector in a standard position.
8 | "), Diagram(coordinateSystem(extent = {{-150, -105}, {150, 105}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));
9 | end SingleInput;
10 |
--------------------------------------------------------------------------------
/BusinessSimulation/Interfaces/Basics/package.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Interfaces;
2 |
3 | package Basics "Partial models for stocks,flows, sources etc."
4 | extends Icons.BasesPackage;
5 | annotation(Documentation(info = "
6 | This information is part of the Business Simulation Library (BSL). Please support this work and ► donate .
7 | This package contains partial classes at a very basic level (e.g., mostly just connectors and/or rudimentory functionality).
8 |
9 |
10 | Copyright © 2020 Guido Wolf Reichert Licensed under the EUPL-1.2 or later
11 | "), Diagram(coordinateSystem(extent = {{-150, -90}, {150, 90}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));
12 | end Basics;
13 |
--------------------------------------------------------------------------------
/BusinessSimulation/Interfaces/Basics/package.order:
--------------------------------------------------------------------------------
1 | OutputTypeChoice
2 | OutputTypeChoice_Rate
3 | OutputTypeChoice_Time
4 | GenericFlow
5 | GenericFlow_Special
6 | ThreeSO
7 | ThreeSO_rate
8 | Interaction4SO
9 | GenericStock
10 | GenericStock_Special
11 | GenericSourceOrSink
12 | SingleInput
13 | GenericStockInfo
14 | GenericStockInfo_Special
15 | GenericSensor
16 | BaseConverter
17 | GenericSmooth
18 | BasePolicy
19 | BasePolicy_MO
20 | BaseInformationProcessing
21 | BaseInformationProcessing_MO
22 |
--------------------------------------------------------------------------------
/BusinessSimulation/Interfaces/Connectors/ExpandableFlowPort.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Interfaces.Connectors;
2 |
3 | expandable connector ExpandableFlowPort "Expandable connector for flow ports"
4 | extends Icons.ExpandableFlowPort;
5 | annotation(Documentation(info = "
6 | This information is part of the Business Simulation Library (BSL). Please support this work and ► donate .
7 | Expandable connector to accomodate multiple flow ports.
8 | Notes
9 | While the FlowMultiPort component is typically used to visually show the presence of an array of FlowPort
, this component is an expandable connector that is much more flexible.
10 | See also
11 | FlowMultiPort , FlowPort
12 | "));
13 | end ExpandableFlowPort;
14 |
--------------------------------------------------------------------------------
/BusinessSimulation/Interfaces/Connectors/ExpandableStockPort.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Interfaces.Connectors;
2 |
3 | expandable connector ExpandableStockPort "Expandable connector for stock ports"
4 | extends Icons.ExpandableStockPort;
5 | annotation(Documentation(info = "
6 | This information is part of the Business Simulation Library (BSL). Please support this work and ► donate .
7 | Expandable connector to accomodate multiple stock ports.
8 | Notes
9 | While the StockMultiPort component is typically used to visually show the presence of an array of StockPort
, this component is an expandable connector that is much more flexible.
10 | See also
11 | StockMultiPort , StockPort
12 | "));
13 | end ExpandableStockPort;
14 |
--------------------------------------------------------------------------------
/BusinessSimulation/Interfaces/Connectors/FlexTypeSignals/RealOutput.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Interfaces.Connectors.FlexTypeSignals;
2 |
3 | connector RealOutput = output BaseType "Output signal reporting 'BaseType'" annotation(defaultComponentName = "y", Icon(coordinateSystem(preserveAspectRatio = true, extent = {{-100, -100}, {100, 100}}, initialScale = 0.1, grid = {10, 10}), graphics = {Polygon(visible = true, lineColor = {1, 37, 163}, fillColor = {255, 255, 255}, fillPattern = FillPattern.Solid, points = {{-100, 100}, {100, 0}, {-100, -100}})}), Diagram(coordinateSystem(preserveAspectRatio = true, extent = {{-100, -100}, {100, 100}}, initialScale = 0.1, grid = {10, 10}), graphics = {Polygon(visible = true, lineColor = {1, 37, 163}, fillColor = {255, 255, 255}, fillPattern = FillPattern.Solid, points = {{-100, 50}, {0, 0}, {-100, -50}}), Text(visible = true, origin = {0, 80}, textColor = {128, 128, 128}, extent = {{-100, -12}, {100, 12}}, textString = "%name", fontName = "Lato", textStyle = {TextStyle.Bold})}), Documentation(info = "A Real output connector.
"));
4 |
--------------------------------------------------------------------------------
/BusinessSimulation/Interfaces/Connectors/FlexTypeSignals/package.order:
--------------------------------------------------------------------------------
1 | BaseType
2 | RealOutput
3 | RealMultiOutput
4 | RealInput
5 | RealMultiInput
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Interfaces/Connectors/IntegerInput.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Interfaces.Connectors;
2 |
3 | connector IntegerInput = input Integer "Input connector for integers" annotation(defaultComponentName = "u", Diagram(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Polygon(visible = true, origin = {-100, 0}, lineColor = {255, 123, 0}, fillColor = {255, 123, 0}, fillPattern = FillPattern.Solid, points = {{0, 50}, {100, 0}, {0, -50}, {0, 50}}), Text(visible = true, origin = {0, 80}, textColor = {128, 128, 128}, extent = {{-100, -12}, {100, 12}}, textString = "%name", fontName = "Lato", textStyle = {TextStyle.Bold})}), Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Polygon(visible = true, lineColor = {255, 123, 0}, fillColor = {255, 123, 0}, fillPattern = FillPattern.Solid, points = {{-100, 100}, {100, 0}, {-100, -100}, {-100, 100}})}), Documentation(info = "An Integer input connector.
"));
4 |
--------------------------------------------------------------------------------
/BusinessSimulation/Interfaces/Connectors/IntegerMultiInput.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Interfaces.Connectors;
2 |
3 | connector IntegerMultiInput = input Integer "Input connector for a vector of integers" annotation(defaultComponentName = "u", Diagram(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Polygon(visible = true, origin = {-100, 0}, lineColor = {255, 123, 0}, fillColor = {255, 123, 0}, fillPattern = FillPattern.Solid, points = {{0, 50}, {100, 0}, {0, -50}, {0, 50}}), Text(visible = true, origin = {0, 80}, textColor = {128, 128, 128}, extent = {{-100, -12}, {100, 12}}, textString = "%name", fontName = "Lato", textStyle = {TextStyle.Bold})}), Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Polygon(visible = true, lineColor = {255, 123, 0}, fillColor = {255, 123, 0}, fillPattern = FillPattern.Solid, points = {{-100, 100}, {100, 0}, {-100, -100}, {-100, 100}}), Ellipse(visible = true, origin = {-24.747, 0}, lineColor = {255, 255, 255}, fillColor = {255, 255, 255}, fillPattern = FillPattern.Solid, extent = {{-24.747, -24.747}, {24.747, 24.747}})}), Documentation(info = "An input connector for a vector of Integers.
"));
4 |
--------------------------------------------------------------------------------
/BusinessSimulation/Interfaces/Connectors/IntegerMultiOutput.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Interfaces.Connectors;
2 |
3 | connector IntegerMultiOutput = output Integer "Output connector for a vector of integers" annotation(defaultComponentName = "y", Icon(coordinateSystem(preserveAspectRatio = true, extent = {{-100, -100}, {100, 100}}, initialScale = 0.1, grid = {10, 10}), graphics = {Polygon(visible = true, lineColor = {255, 123, 0}, fillColor = {255, 255, 255}, fillPattern = FillPattern.Solid, points = {{-100, 100}, {100, 0}, {-100, -100}}), Ellipse(visible = true, origin = {-24.747, 0}, lineColor = {255, 255, 255}, fillColor = {255, 123, 0}, fillPattern = FillPattern.Solid, extent = {{-24.747, -24.747}, {24.747, 24.747}})}), Diagram(coordinateSystem(preserveAspectRatio = true, extent = {{-100, -100}, {100, 100}}, initialScale = 0.1, grid = {10, 10}), graphics = {Polygon(visible = true, lineColor = {255, 123, 0}, fillColor = {255, 255, 255}, fillPattern = FillPattern.Solid, points = {{-100, 50}, {0, 0}, {-100, -50}}), Text(visible = true, origin = {0, 80}, textColor = {128, 128, 128}, extent = {{-100, -12}, {100, 12}}, textString = "%name", fontName = "Lato", textStyle = {TextStyle.Bold})}), Documentation(info = "An output connector for a vector of Integers.
"));
4 |
--------------------------------------------------------------------------------
/BusinessSimulation/Interfaces/Connectors/IntegerOutput.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Interfaces.Connectors;
2 |
3 | connector IntegerOutput = output Integer "Output connector for integers" annotation(defaultComponentName = "y", Icon(coordinateSystem(preserveAspectRatio = true, extent = {{-100, -100}, {100, 100}}, initialScale = 0.1, grid = {10, 10}), graphics = {Polygon(visible = true, lineColor = {255, 123, 0}, fillColor = {255, 255, 255}, fillPattern = FillPattern.Solid, points = {{-100, 100}, {100, 0}, {-100, -100}})}), Diagram(coordinateSystem(preserveAspectRatio = true, extent = {{-100, -100}, {100, 100}}, initialScale = 0.1, grid = {10, 10}), graphics = {Polygon(visible = true, lineColor = {255, 123, 0}, fillColor = {255, 255, 255}, fillPattern = FillPattern.Solid, points = {{-100, 50}, {0, 0}, {-100, -50}}), Text(visible = true, origin = {0, 80}, textColor = {128, 128, 128}, extent = {{-100, -12}, {100, 12}}, textString = "%name", fontName = "Lato", textStyle = {TextStyle.Bold})}), Documentation(info = "An Integer output connector.
"));
4 |
--------------------------------------------------------------------------------
/BusinessSimulation/Interfaces/Connectors/package.order:
--------------------------------------------------------------------------------
1 | FlexTypeSignals
2 | StockPort
3 | StockMultiPort
4 | ExpandableStockPort
5 | FlowPort
6 | FlowMultiPort
7 | ExpandableFlowPort
8 | MultiPort
9 | StockPort_Special
10 | FlowPort_Special
11 | StockInfoOutput
12 | StockInfoInput
13 | StockInfoMultiInput
14 | StockInfoMultiOutput
15 | BooleanOutput
16 | BooleanInput
17 | BooleanMultiInput
18 | IntegerInput
19 | IntegerOutput
20 | IntegerMultiInput
21 | IntegerMultiOutput
22 | RealInput
23 | RealOutput
24 | RealMultiInput
25 | RealMultiOutput
26 | DataBus
27 | DataInPort
28 | DataOutPort
29 | OmniBus
30 |
--------------------------------------------------------------------------------
/BusinessSimulation/Interfaces/PartialCLD/Converter.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Interfaces.PartialCLD;
2 |
3 | partial block Converter "Partial converter class for CLD+ modeling"
4 | extends Interfaces.PartialCLD.InfoAggregation(nin(min = 1));
5 | annotation(Documentation(info = "
6 | This information is part of the Business Simulation Library (BSL). Please support this work and ► donate .
7 | This class can be used to build visually fitting converter classes for models using the CausalLoop
package.
8 | "), Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10}), graphics = {Ellipse(visible = true, origin = {-50, 0}, lineColor = {0, 0, 128}, fillColor = {255, 255, 255}, fillPattern = FillPattern.Solid, lineThickness = 4, extent = {{-30, -30}, {30, 30}}), Text(visible = true, origin = {-50, -60}, textColor = {64, 64, 64}, extent = {{-150, -12}, {150, 12}}, textString = "%name", fontName = "Lato")}));
9 | end Converter;
10 |
--------------------------------------------------------------------------------
/BusinessSimulation/Interfaces/PartialCLD/package.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Interfaces;
2 |
3 | package PartialCLD "Partial classes for causal loop diagramming"
4 | extends Icons.VariantsPackage;
5 | annotation(Documentation(revisions = "
6 |
7 | Introduced in v2.0.0.
8 |
9 | ", info = "
10 | This information is part of the Business Simulation Library (BSL). Please support this work and ► donate .
11 | This package contains partial classes to build those contained in the package →CausalLoop .
12 |
13 | Copyright © 2021 Guido Wolf Reichert Licensed under the EUPL-1.2 or later
14 | "));
15 | end PartialCLD;
16 |
--------------------------------------------------------------------------------
/BusinessSimulation/Interfaces/PartialCLD/package.order:
--------------------------------------------------------------------------------
1 | FlowPort
2 | TimedSource
3 | RealInputToFlow
4 | StockInfoToFlow
5 | Control
6 | Converter
7 | CoupledSourceOrSink
8 | Delay
9 | Flow
10 | InfoAggregation
11 | Interaction
12 | Lookup
13 | Performance
14 | SourceOrSink
15 | Stock
16 |
--------------------------------------------------------------------------------
/BusinessSimulation/Interfaces/PartialConverters/BooleanSIRealSO.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Interfaces.PartialConverters;
2 |
3 | partial block BooleanSIRealSO "Converter with single boolean input and single real output"
4 | extends SO;
5 | Connectors.BooleanInput u "Input" annotation(Placement(visible = true, transformation(origin = {-145, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {-80, 0}, extent = {{-10, 10}, {10, -10}}, rotation = 0)));
6 | annotation(Documentation(info = "
7 | This information is part of the Business Simulation Library (BSL). Please support this work and ► donate .
8 | Partial block extending from the →SO class with a Real output and a Boolean input connector.
"), Diagram(coordinateSystem(extent = {{-148.5, -105}, {148.5, 105}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));
9 | end BooleanSIRealSO;
10 |
--------------------------------------------------------------------------------
/BusinessSimulation/Interfaces/PartialConverters/BooleanSISO.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Interfaces.PartialConverters;
2 |
3 | partial block BooleanSISO "Converter with single input and single output"
4 | extends BooleanSO;
5 | Connectors.BooleanInput u "Input" annotation(Placement(visible = true, transformation(origin = {-145, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {-80, 0}, extent = {{-10, 10}, {10, -10}}, rotation = 0)));
6 | annotation(Documentation(info = "
7 | This information is part of the Business Simulation Library (BSL). Please support this work and ► donate .
8 | Partial block extending from the →BooleanSO class with a Boolean output and a Boolean input connector.
"), Diagram(coordinateSystem(extent = {{-148.5, -105}, {148.5, 105}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));
9 | end BooleanSISO;
10 |
--------------------------------------------------------------------------------
/BusinessSimulation/Interfaces/PartialConverters/BooleanSO.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Interfaces.PartialConverters;
2 |
3 | partial block BooleanSO "Generic converter with a boolean output"
4 | extends Icons.Converter;
5 | Connectors.BooleanOutput y "Boolean output" annotation(Placement(visible = true, transformation(origin = {150, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {80, 0}, extent = {{-10, -10}, {10, 10}}, rotation = -1440)));
6 | annotation(Documentation(info = "
7 | This information is part of the Business Simulation Library (BSL). Please support this work and ► donate .
8 | Partial block with a Boolean output connector.
9 | "), Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10})), Diagram(coordinateSystem(extent = {{-148.5, -105}, {148.5, 105}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));
10 | end BooleanSO;
11 |
--------------------------------------------------------------------------------
/BusinessSimulation/Interfaces/PartialConverters/InformationSource_MO.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Interfaces.PartialConverters;
2 |
3 | partial block InformationSource_MO "Information Source with multiple outputs"
4 | extends MO;
5 | extends Icons.InformationSourceIndicator;
6 | annotation(Documentation(info = "
7 | This information is part of the Business Simulation Library (BSL). Please support this work and ► donate .
8 | Partial block extending from the →MO partial converter class with multiple Real output connectors. This is the base class for InformationSource components with multiple outputs.
9 | See also
10 | InformationSources
11 | "), Diagram(coordinateSystem(extent = {{-148.5, -105}, {148.5, 105}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));
12 | end InformationSource_MO;
13 |
--------------------------------------------------------------------------------
/BusinessSimulation/Interfaces/PartialConverters/MO.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Interfaces.PartialConverters;
2 |
3 | partial block MO "Converter with multiple outputs"
4 | extends Basics.BaseConverter;
5 | RealMultiOutput[nout] y "Vector of output signals" annotation(Placement(visible = true, transformation(origin = {150, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {80, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
6 | parameter Integer nout(min = 2) = 2 "Number of output signals" annotation(Evaluate = true, Dialog(group = "Structural Parameters"));
7 | annotation(Documentation(info = "
8 | This information is part of the Business Simulation Library (BSL). Please support this work and ► donate .
9 | Partial block extending the →BaseConverter class with a vector of nout
Real output connectors.
10 | "), Diagram(coordinateSystem(extent = {{-148.5, -105}, {148.5, 105}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));
11 | end MO;
12 |
--------------------------------------------------------------------------------
/BusinessSimulation/Interfaces/PartialConverters/SIBooleanSO.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Interfaces.PartialConverters;
2 |
3 | partial block SIBooleanSO "Generic converter with real input and boolean output"
4 | extends BooleanSO;
5 | Connectors.RealInput u "Input" annotation(Placement(visible = true, transformation(origin = {-145, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {-80, 0}, extent = {{-10, 10}, {10, -10}}, rotation = 0)));
6 | annotation(Documentation(info = "
7 | This information is part of the Business Simulation Library (BSL). Please support this work and ► donate .
8 | Partial block extending from →BooleanSO with a Real input and a Boolean output converter.
"), Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10})), Diagram(coordinateSystem(extent = {{-148.5, -105}, {148.5, 105}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));
9 | end SIBooleanSO;
10 |
--------------------------------------------------------------------------------
/BusinessSimulation/Interfaces/PartialConverters/SISO.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Interfaces.PartialConverters;
2 |
3 | partial block SISO "Converter with single input and single output"
4 | extends SO;
5 | Connectors.RealInput u "Input" annotation(Placement(visible = true, transformation(origin = {-145, -0}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {-80, 0}, extent = {{-10, 10}, {10, -10}}, rotation = 0)));
6 | annotation(Documentation(info = "
7 | Partial block extending the →SO partial converter class with one Real output connector and a single Real input connector.
8 | "), Diagram(coordinateSystem(extent = {{-148.5, -105}, {148.5, 105}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));
9 | end SISO;
10 |
--------------------------------------------------------------------------------
/BusinessSimulation/Interfaces/PartialConverters/SO.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Interfaces.PartialConverters;
2 |
3 | encapsulated partial block SO "Generic converter for signals"
4 | import BusinessSimulation.Interfaces.Basics.BaseConverter;
5 | extends BaseConverter;
6 | RealOutput y annotation(Placement(visible = true, transformation(origin = {160.268, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {80, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
7 | annotation(Documentation(info = "
8 | This information is part of the Business Simulation Library (BSL). Please support this work and ► donate .
9 | Partial block extending the →BaseConverter class with one Real output connector.
"), Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10})), Diagram(coordinateSystem(extent = {{-148.5, -105}, {148.5, 105}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));
10 | end SO;
11 |
--------------------------------------------------------------------------------
/BusinessSimulation/Interfaces/PartialConverters/package.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Interfaces;
2 |
3 | package PartialConverters "Partial converter classes"
4 | extends Icons.VariantsPackage;
5 | annotation(Documentation(info = "
6 | This information is part of the Business Simulation Library (BSL). Please support this work and ► donate .
7 | This package contains partial classes to build →Converters .
8 |
9 |
10 | Copyright © 2020 Guido Wolf Reichert Licensed under the EUPL-1.2 or later
11 | "), Diagram(coordinateSystem(extent = {{-150, -90}, {150, 90}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));
12 | end PartialConverters;
13 |
--------------------------------------------------------------------------------
/BusinessSimulation/Interfaces/PartialConverters/package.order:
--------------------------------------------------------------------------------
1 | SO
2 | SISO
3 | SISO_Conversion
4 | SI2SO
5 | SI3SO
6 | MO
7 | MISO
8 | MIMO
9 | MIMO_nin
10 | BooleanSO
11 | BooleanSISO
12 | BooleanSIRealSO
13 | BooleanMISO
14 | SIBooleanSO
15 | SI2BooleanSO
16 | BooleanSI2SO
17 | SmoothSISO
18 | InformationSource_SO
19 | InformationSource_MO
20 | InformationProcessing_SO
21 | InformationProcessing_MO
22 | Policy_SO
23 | Policy_MO
24 |
--------------------------------------------------------------------------------
/BusinessSimulation/Interfaces/PartialFlows/package.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Interfaces;
2 |
3 | package PartialFlows "Partial models for flow elements"
4 | extends Icons.VariantsPackage;
5 | annotation(Documentation(info = "
6 | This information is part of the Business Simulation Library (BSL). Please support this work and ► donate .
7 | This package contains partial classes to build →Flows .
8 |
9 | Copyright © 2020 Guido Wolf Reichert Licensed under the EUPL-1.2 or later
10 | "), Diagram(coordinateSystem(extent = {{-150, -90}, {150, 90}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));
11 | end PartialFlows;
12 |
--------------------------------------------------------------------------------
/BusinessSimulation/Interfaces/PartialFlows/package.order:
--------------------------------------------------------------------------------
1 | UnidirectionalFlow
2 | BidirectionalFlow
3 | Interaction
4 |
--------------------------------------------------------------------------------
/BusinessSimulation/Interfaces/PartialSourcesOrSinks/package.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Interfaces;
2 |
3 | package PartialSourcesOrSinks "Partial models for sources or sinks"
4 | extends Icons.VariantsPackage;
5 | annotation(Documentation(info = "
6 | This information is part of the Business Simulation Library (BSL). Please support this work and ► donate .
7 | This package contains partial classes to build →SourcesOrSinks components.
8 |
9 | Copyright © 2020 Guido Wolf Reichert Licensed under the EUPL-1.2 or later
10 | "), Diagram(coordinateSystem(extent = {{-150, -90}, {150, 90}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));
11 | end PartialSourcesOrSinks;
12 |
--------------------------------------------------------------------------------
/BusinessSimulation/Interfaces/PartialSourcesOrSinks/package.order:
--------------------------------------------------------------------------------
1 | Source
2 | Sink
3 | SourceOrSink
4 |
--------------------------------------------------------------------------------
/BusinessSimulation/Interfaces/PartialStocks/package.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Interfaces;
2 |
3 | package PartialStocks "Partial models for reservoir components (stocks or levels)"
4 | extends Icons.VariantsPackage;
5 | annotation(Documentation(info = "
6 | This information is part of the Business Simulation Library (BSL). Please support this work and ► donate .
7 | This package contains partial classes to build →Stocks .
8 |
9 | Copyright © 2020 Guido Wolf Reichert Licensed under the EUPL-1.2 or later
10 | "));
11 | end PartialStocks;
12 |
--------------------------------------------------------------------------------
/BusinessSimulation/Interfaces/PartialStocks/package.order:
--------------------------------------------------------------------------------
1 | BasicStock
2 |
--------------------------------------------------------------------------------
/BusinessSimulation/Interfaces/PartialSubsystems/package.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Interfaces;
2 |
3 | package PartialSubsystems "Partial classes for subsystems with a flexible number of connectors"
4 | extends Icons.VariantsPackage;
5 | annotation(Documentation(info = "
6 | This information is part of the Business Simulation Library (BSL). Please support this work and ► donate .
7 | This package contains partial classes for convenient modeling of subsystems with a flexible number of connectors.
8 |
9 | Copyright © 2021 Guido Wolf Reichert Licensed under the EUPL-1.2 or later
10 | ", revisions = "
11 |
12 | Introduced in v2.0.0.
13 | Added restrictions with regard to stock and flow ports depending on subsystem type in v2.1.0.
14 |
15 | "));
16 | end PartialSubsystems;
17 |
--------------------------------------------------------------------------------
/BusinessSimulation/Interfaces/PartialSubsystems/package.order:
--------------------------------------------------------------------------------
1 | BaseSubsystem
2 | BasicBlock
3 | BasicIncubator
4 | BasicTransceiver
5 | BasicActuator
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Interfaces/package.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation;
2 |
3 | package Interfaces "Connectors and partial models for Business Simulations"
4 | extends Icons.InterfacesPackage;
5 | import BusinessSimulation.Units.*;
6 | import BusinessSimulation.Constants.*;
7 | import BusinessSimulation.Types.Reals;
8 | annotation(Documentation(info = "
9 | This information is part of the Business Simulation Library (BSL). Please support this work and ► donate .
10 | This package contains connectors and partial models (classes).
11 |
12 |
13 | Copyright © 2020 Guido Wolf Reichert Licensed under the EUPL-1.2 or later
14 | "), Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10})), Diagram(coordinateSystem(extent = {{-148.5, -105}, {148.5, 105}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));
15 | end Interfaces;
16 |
--------------------------------------------------------------------------------
/BusinessSimulation/Interfaces/package.order:
--------------------------------------------------------------------------------
1 | Connectors
2 | Basics
3 | PartialConverters
4 | PartialSourcesOrSinks
5 | PartialFlows
6 | PartialStocks
7 | PartialCLD
8 | PartialSubsystems
9 |
--------------------------------------------------------------------------------
/BusinessSimulation/MoleculesOfStructure/Actuators/package.order:
--------------------------------------------------------------------------------
1 | Diffusion
2 |
--------------------------------------------------------------------------------
/BusinessSimulation/MoleculesOfStructure/Blocks/package.order:
--------------------------------------------------------------------------------
1 | ExperienceCurve
2 | EffectOfFatigue
3 |
--------------------------------------------------------------------------------
/BusinessSimulation/MoleculesOfStructure/Incubators/package.order:
--------------------------------------------------------------------------------
1 | Collector
2 | Account
3 |
--------------------------------------------------------------------------------
/BusinessSimulation/MoleculesOfStructure/InformationProcessing/package.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.MoleculesOfStructure;
2 |
3 | package InformationProcessing "Making use of raw data from sensors and other sources"
4 | extends Icons.InformationProcessingPackage;
5 | annotation(Documentation(info = "
6 | This information is part of the Business Simulation Library (BSL).
7 | This package contains components that represent some form of information processing—as opposed to actual decision making.
8 |
9 | Copyright © 2020 Guido Wolf Reichert Licensed under the EUPL-1.2 or later
10 | "), Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10})), Diagram(coordinateSystem(extent = {{-148.5, -105}, {148.5, 105}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));
11 | end InformationProcessing;
12 |
--------------------------------------------------------------------------------
/BusinessSimulation/MoleculesOfStructure/InformationProcessing/package.order:
--------------------------------------------------------------------------------
1 | AggregatePerformance
2 | BasicOrientation
3 | FinancialReporting
4 | PresentValue
5 | ResidenceTime
6 | TimeValueOfMoney
7 | Trend
8 | TrendBasedForecast
9 |
--------------------------------------------------------------------------------
/BusinessSimulation/MoleculesOfStructure/Policy/package.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.MoleculesOfStructure;
2 |
3 | package Policy "Structure for processing information and making decisions"
4 | extends Icons.PolicyPackage;
5 | annotation(Documentation(info = "
6 | This information is part of the Business Simulation Library (BSL). Please support this work and ► donate .
7 | This package contains pre-built components for typical \"policy\" modules representing some form of decision making (sometimes also of information processing).
8 |
9 | Copyright © 2020 Guido Wolf Reichert Licensed under the EUPL-1.2 or later
10 | "), Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10})), Diagram(coordinateSystem(extent = {{-148.5, -105}, {148.5, 105}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));
11 | end Policy;
12 |
--------------------------------------------------------------------------------
/BusinessSimulation/MoleculesOfStructure/Policy/package.order:
--------------------------------------------------------------------------------
1 | ActionFromResource
2 | Allocation
3 | Allocation_Brent
4 | CloseGap
5 | FirstOrderStockAdjustment
6 | PID
7 | SplitProportionally
8 |
--------------------------------------------------------------------------------
/BusinessSimulation/MoleculesOfStructure/Transceivers/package.order:
--------------------------------------------------------------------------------
1 | SplitFlow
2 | Reservoir
3 | Chain
4 |
--------------------------------------------------------------------------------
/BusinessSimulation/MoleculesOfStructure/package.order:
--------------------------------------------------------------------------------
1 | InformationProcessing
2 | Policy
3 | Blocks
4 | Incubators
5 | Transceivers
6 | Actuators
7 |
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/CausalLoop/Elasticity/ModelDiagram.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/CausalLoop/Elasticity/ModelDiagram.png
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/CausalLoop/ExponentialChange/ModelDiagram.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/CausalLoop/ExponentialChange/ModelDiagram.png
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/CausalLoop/ExponentialDelay/ModelDiagram.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/CausalLoop/ExponentialDelay/ModelDiagram.png
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/CausalLoop/ForceToInputValue/ModelDiagram.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/CausalLoop/ForceToInputValue/ModelDiagram.png
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/CausalLoop/ForceToStockValue/ModelDiagram.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/CausalLoop/ForceToStockValue/ModelDiagram.png
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/CausalLoop/LinearChange/ModelDiagram.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/CausalLoop/LinearChange/ModelDiagram.png
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/CausalLoop/LogisticGrowth/ModelDiagram.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/CausalLoop/LogisticGrowth/ModelDiagram.png
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/CausalLoop/PID_Control/ModelDiagram.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/CausalLoop/PID_Control/ModelDiagram.png
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/CausalLoop/Performance/ModelDiagram.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/CausalLoop/Performance/ModelDiagram.png
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/CausalLoop/PipelineDelay/ModelDiagram.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/CausalLoop/PipelineDelay/ModelDiagram.png
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/CausalLoop/Proportionality/ModelDiagram.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/CausalLoop/Proportionality/ModelDiagram.png
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/CausalLoop/SimpleControl/ModelDiagram.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/CausalLoop/SimpleControl/ModelDiagram.png
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/Converters/DiscreteDelay/Smooth/Formula.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/Converters/DiscreteDelay/Smooth/Formula.png
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/Converters/Lookup/ConcaveLookupNegative/Formula.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/Converters/Lookup/ConcaveLookupNegative/Formula.png
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/Converters/Lookup/ConcaveLookupNegative/Graph.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/Converters/Lookup/ConcaveLookupNegative/Graph.png
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/Converters/Lookup/ConcaveLookupPositive/Formula.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/Converters/Lookup/ConcaveLookupPositive/Formula.png
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/Converters/Lookup/ConcaveLookupPositive/Graph.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/Converters/Lookup/ConcaveLookupPositive/Graph.png
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/Converters/Lookup/ConvexLookupNegative/Formula.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/Converters/Lookup/ConvexLookupNegative/Formula.png
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/Converters/Lookup/ConvexLookupNegative/Graph.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/Converters/Lookup/ConvexLookupNegative/Graph.png
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/Converters/Lookup/ConvexLookupPositive/Formula.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/Converters/Lookup/ConvexLookupPositive/Formula.png
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/Converters/Lookup/ConvexLookupPositive/Graph.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/Converters/Lookup/ConvexLookupPositive/Graph.png
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/Converters/Lookup/JanoschekNegative/AnimatedGraph.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/Converters/Lookup/JanoschekNegative/AnimatedGraph.gif
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/Converters/Lookup/JanoschekNegative/Formula.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/Converters/Lookup/JanoschekNegative/Formula.png
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/Converters/Lookup/JanoschekPositive/AnimatedGraph.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/Converters/Lookup/JanoschekPositive/AnimatedGraph.gif
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/Converters/Lookup/JanoschekPositive/Formula.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/Converters/Lookup/JanoschekPositive/Formula.png
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/Converters/Lookup/PerformanceIndicator/Grid.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/Converters/Lookup/PerformanceIndicator/Grid.png
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/Converters/Lookup/SShapedNegative/Formula.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/Converters/Lookup/SShapedNegative/Formula.png
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/Converters/Lookup/SShapedNegative/Graph.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/Converters/Lookup/SShapedNegative/Graph.png
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/Converters/Lookup/SShapedPositive/Formula.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/Converters/Lookup/SShapedPositive/Formula.png
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/Converters/Lookup/SShapedPositive/Graph.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/Converters/Lookup/SShapedPositive/Graph.png
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/Converters/PolynomialFunction/Formula.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/Converters/PolynomialFunction/Formula.png
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/Converters/Vector/ArithmeticMean/Formula.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/Converters/Vector/ArithmeticMean/Formula.png
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/Converters/Vector/DotProduct/Formula.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/Converters/Vector/DotProduct/Formula.png
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/Converters/Vector/GeometricMean/Formula.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/Converters/Vector/GeometricMean/Formula.png
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/Converters/Vector/ProportionalSplitFactors/Formula.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/Converters/Vector/ProportionalSplitFactors/Formula.png
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/Converters/Vector/ProportionalSplitFactors/Formula2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/Converters/Vector/ProportionalSplitFactors/Formula2.png
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/Converters/Vector/ScalarMultiplication/Formula.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/Converters/Vector/ScalarMultiplication/Formula.png
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/Converters/Vector/Sum/Formula.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/Converters/Vector/Sum/Formula.png
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/Converters/Vector/Times/Formula.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/Converters/Vector/Times/Formula.png
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/Converters/Vector/Total/Formula.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/Converters/Vector/Total/Formula.png
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/Examples/AssemblyLine/Inventory.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/Examples/HealTheWorld/ModelDiagram.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/Examples/HealTheWorld/ModelDiagram.png
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/Examples/LoveHateDynamics/Heart.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/Examples/LoveHateDynamics/HeartBroken.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/Examples/SimpleProductionChain/UsefulLifeDistributions.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/Examples/SimpleProductionChain/UsefulLifeDistributions.png
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/Examples/SoftwareReleaseProject/AccumulatedPerformance/ModelDiagram.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/Examples/SoftwareReleaseProject/AccumulatedPerformance/ModelDiagram.png
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/Examples/SoftwareReleaseProject/CausalLoopDiagram.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/Examples/SoftwareReleaseProject/CausalLoopDiagram.png
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/Examples/SoftwareReleaseProject/ControlCombinations.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/Examples/SoftwareReleaseProject/ControlCombinations.png
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/Examples/SoftwareReleaseProject/ModelDiagram.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/Examples/SoftwareReleaseProject/ModelDiagram.png
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/Examples/SoftwareReleaseProject/PerformanceC1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/Examples/SoftwareReleaseProject/PerformanceC1.png
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/Flows/Interaction/BrokenTransition/Diagram.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/Flows/Interaction/BrokenTransition/Diagram.png
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/Flows/Interaction/BrokenTransitionPull/Diagram.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/Flows/Interaction/BrokenTransitionPull/Diagram.png
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/Flows/Interaction/ComplexInteraction/Formula.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/Flows/Interaction/ComplexInteraction/Formula.png
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/Flows/Interaction/LinearInteraction/Formula.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/Flows/Interaction/LinearInteraction/Formula.png
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/Flows/Interaction/LotkaVolterra/Formula.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/Flows/Interaction/LotkaVolterra/Formula.png
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/Flows/Interaction/NonlinearInteraction/Formula.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/Flows/Interaction/NonlinearInteraction/Formula.png
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/Icons/World/World.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/Icons/World/World.png
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/Interfaces/PartialCLD/CoupledSourceOrSink/ModelDiagram.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/Interfaces/PartialCLD/CoupledSourceOrSink/ModelDiagram.png
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/Interfaces/PartialCLD/Delay/ModelDiagram.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/Interfaces/PartialCLD/Delay/ModelDiagram.png
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/Interfaces/PartialCLD/Lookup/ModelDiagram.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/Interfaces/PartialCLD/Lookup/ModelDiagram.png
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/Interfaces/PartialCLD/SourceOrSink/ModelDiagram.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/Interfaces/PartialCLD/SourceOrSink/ModelDiagram.png
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/MoleculesOfStructure/ActuatorIcon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/MoleculesOfStructure/ActuatorIcon.png
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/MoleculesOfStructure/Actuators/Diffusion/Contact.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/MoleculesOfStructure/Actuators/Diffusion/Contact.png
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/MoleculesOfStructure/BlockIcon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/MoleculesOfStructure/BlockIcon.png
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/MoleculesOfStructure/IncubatorIcon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/MoleculesOfStructure/IncubatorIcon.png
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/MoleculesOfStructure/InformationProcessing/TimeValueOfMoney/Formula.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/MoleculesOfStructure/InformationProcessing/TimeValueOfMoney/Formula.png
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/MoleculesOfStructure/TransceiverIcon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/MoleculesOfStructure/TransceiverIcon.png
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/SourcesOrSinks/ExponentialDecay/FormulaHalfLife.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/SourcesOrSinks/ExponentialDecay/FormulaHalfLife.png
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/SourcesOrSinks/ExponentialDecay/FormulaRate.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/SourcesOrSinks/ExponentialDecay/FormulaRate.png
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/SourcesOrSinks/ExponentialDecay/FormulaResidenceTime.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/SourcesOrSinks/ExponentialDecay/FormulaResidenceTime.png
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/SourcesOrSinks/LogisticGrowth/Formula.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/SourcesOrSinks/LogisticGrowth/Formula.png
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/SourcesOrSinks/LogisticGrowth/Plot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/SourcesOrSinks/LogisticGrowth/Plot.png
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/UsersGuide/Contact/ContactInformation.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/UsersGuide/Contact/ContactInformation.png
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/UsersGuide/Contact/bslFullLogo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/UsersGuide/Contact/bslFullLogo.png
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/UsersGuide/Contact/icon_LinkedIn.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/UsersGuide/Contact/icon_LinkedIn.png
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/UsersGuide/Contact/icon_fax.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/UsersGuide/Contact/icon_mail.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/UsersGuide/Contact/icon_person.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/UsersGuide/Contact/icon_pin.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/UsersGuide/Contact/icon_world.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/UsersGuide/Tutorial/StrategicBusinessSimulation/ContinuousView.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/UsersGuide/Tutorial/StrategicBusinessSimulation/ContinuousView.png
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/UsersGuide/Tutorial/StrategicBusinessSimulation/SettingTheRate.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/UsersGuide/Tutorial/StrategicBusinessSimulation/SettingTheRate.png
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/UsersGuide/Tutorial/StrategicBusinessSimulation/SimpleProductionProcess.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bslMS/BusinessSimulation/608cf499af56233766130afe2cfa0a7b80d5cc6d/BusinessSimulation/Resources/Images/UsersGuide/Tutorial/StrategicBusinessSimulation/SimpleProductionProcess.png
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/Images/donate_button.svg:
--------------------------------------------------------------------------------
1 | Donate
--------------------------------------------------------------------------------
/BusinessSimulation/Resources/README.txt:
--------------------------------------------------------------------------------
1 | Copyright © 2020 Guido Wolf Reichert
2 | Licensed under the EUPL-1.2 or later
3 |
4 | You may not use this work except in compliance with the Licence. You may obtain a copy of the Licence at: https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
5 |
6 | Unless required by applicable law or agreed to in writing, software distributed under the Licence is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either expressed or implied. See the Licence for the specific langauge governing permissions and limitations under the Licence.
--------------------------------------------------------------------------------
/BusinessSimulation/Sensors/package.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation;
2 |
3 | package Sensors "Package with sensor components"
4 | extends Icons.SensorsPackage;
5 | annotation(Documentation(info = "
6 | This information is part of the Business Simulation Library (BSL). Please support this work and ► donate .
7 | This package contains sensor components especially needed to access acausal connector information from within a component.
8 |
9 |
10 | Copyright © 2020 Guido Wolf Reichert Licensed under the EUPL-1.2 or later
11 | "), Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10})), Diagram(coordinateSystem(extent = {{-148.5, -105}, {148.5, 105}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));
12 | end Sensors;
13 |
--------------------------------------------------------------------------------
/BusinessSimulation/Sensors/package.order:
--------------------------------------------------------------------------------
1 | AbsoluteSensor
2 | FlowPortSensor
3 | FlowPortSensor_Control
4 | StockPortSensor
5 | StockPortSensor_Control
6 | StockInfo
7 | DynamicStockInfo
8 |
--------------------------------------------------------------------------------
/BusinessSimulation/SourcesOrSinks/package.order:
--------------------------------------------------------------------------------
1 | Cloud
2 | Decline
3 | ExogenousChange
4 | ExponentialChange
5 | ExponentialDecay
6 | ExponentialDecline
7 | ExponentialGrowth
8 | Growth
9 | LogisticGrowth
10 |
--------------------------------------------------------------------------------
/BusinessSimulation/Stocks/package.order:
--------------------------------------------------------------------------------
1 | InformationLevel
2 | MaterialStock
3 | CapacityRestrictedStock
4 | HinesCoflow
5 | DelayN
6 | SimpleConveyor
7 | Conveyor
8 | PureDelay
9 | Oven
10 |
--------------------------------------------------------------------------------
/BusinessSimulation/Types/AggregateFunctions.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Types;
2 |
3 | type AggregateFunctions = enumeration(minimum "Minimum value", geometricMean "Geometric mean", arithmeticMean "Arithmetic mean", maximum "Maximum value") "Functions that can be used to aggregate performance indicators" annotation(Icon(coordinateSystem(preserveAspectRatio = false, extent = {{-100, -100}, {100, 100}}, initialScale = 0.1, grid = {10, 10}), graphics = {Rectangle(visible = true, lineColor = {76, 112, 136}, fillColor = {255, 255, 255}, fillPattern = FillPattern.Solid, extent = {{-100, -100}, {100, 100}}), Text(visible = true, textColor = {76, 112, 136}, extent = {{-90, -50}, {90, 50}}, textString = "1..n", fontName = "Lato", textStyle = {TextStyle.Bold})}));
4 |
--------------------------------------------------------------------------------
/BusinessSimulation/Types/BasicOrientors.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Types;
2 |
3 | type BasicOrientors = enumeration(existence "Existence", effectiveness "Effectiveness (including efficiency)", freedom "Freedom of action", security "Security", adaptability "Adaptability", coexistence "Coexistence") "Basic orientors for sustainable development" annotation(Icon(coordinateSystem(preserveAspectRatio = false, extent = {{-100, -100}, {100, 100}}, initialScale = 0.1, grid = {10, 10}), graphics = {Rectangle(visible = true, lineColor = {76, 112, 136}, fillColor = {255, 255, 255}, fillPattern = FillPattern.Solid, extent = {{-100, -100}, {100, 100}}), Text(visible = true, textColor = {76, 112, 136}, extent = {{-90, -50}, {90, 50}}, textString = "1..n", fontName = "Lato", textStyle = {TextStyle.Bold})}));
4 |
--------------------------------------------------------------------------------
/BusinessSimulation/Types/Booleans.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Types;
2 |
3 | type Booleans = Boolean "Basic Boolean type with proper icon" annotation(Icon(coordinateSystem(preserveAspectRatio = false, extent = {{-100, -100}, {100, 100}}, initialScale = 0.1, grid = {10, 10}), graphics = {Rectangle(visible = true, lineColor = {76, 112, 136}, fillColor = {255, 255, 255}, pattern = LinePattern.None, extent = {{-100, -100}, {100, 100}}), Text(visible = true, textColor = {76, 112, 136}, extent = {{-90, -50}, {90, 50}}, textString = "B", fontName = "Lato", textStyle = {TextStyle.Bold})}));
4 |
--------------------------------------------------------------------------------
/BusinessSimulation/Types/InitializationOptions.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Types;
2 |
3 | type InitializationOptions = enumeration(Free "No initial conditions", FixedValue "Specify initial value", SteadyState "Try to set up model in steady state") "How to initialize a stock" annotation(Icon(coordinateSystem(preserveAspectRatio = false, extent = {{-100, -100}, {100, 100}}, initialScale = 0.1, grid = {10, 10}), graphics = {Rectangle(visible = true, lineColor = {76, 112, 136}, fillColor = {255, 255, 255}, fillPattern = FillPattern.Solid, extent = {{-100, -100}, {100, 100}}), Text(visible = true, textColor = {76, 112, 136}, extent = {{-90, -50}, {90, 50}}, textString = "1..n", fontName = "Lato", textStyle = {TextStyle.Bold})}));
4 |
--------------------------------------------------------------------------------
/BusinessSimulation/Types/Integers.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Types;
2 |
3 | type Integers = Integer "Basic Integer type with proper icon" annotation(Icon(coordinateSystem(preserveAspectRatio = false, extent = {{-100, -100}, {100, 100}}, initialScale = 0.1, grid = {10, 10}), graphics = {Rectangle(visible = true, lineColor = {76, 112, 136}, fillColor = {255, 255, 255}, pattern = LinePattern.None, extent = {{-100, -100}, {100, 100}}), Text(visible = true, textColor = {76, 112, 136}, extent = {{-90, -50}, {90, 50}}, textString = "I", fontName = "Lato", textStyle = {TextStyle.Bold})}));
4 |
--------------------------------------------------------------------------------
/BusinessSimulation/Types/MembershipFunctionTypes.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Types;
2 |
3 | type MembershipFunctionTypes = enumeration(ramp "Bounded ramp function", triangular "Triangular function", trapezoidal "Trapezoidal function", sshaped "S-shaped function", sigmoidal "Sigmoidal membership function", pishaped "Pi-shaped membership function", psigmoidal "Product of two sigmoidal membership functions", gaussian "Gaussian membership function", bell "Bell-shaped membership function") "Basic functions to represent the degree of membership in a set" annotation(Icon(coordinateSystem(preserveAspectRatio = false, extent = {{-100, -100}, {100, 100}}, initialScale = 0.1, grid = {10, 10}), graphics = {Rectangle(visible = true, lineColor = {76, 112, 136}, fillColor = {255, 255, 255}, fillPattern = FillPattern.Solid, extent = {{-100, -100}, {100, 100}}), Text(visible = true, textColor = {76, 112, 136}, extent = {{-90, -50}, {90, 50}}, textString = "1..n", fontName = "Lato", textStyle = {TextStyle.Bold})}));
4 |
--------------------------------------------------------------------------------
/BusinessSimulation/Types/OutflowPriorities.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Types;
2 |
3 | type OutflowPriorities = enumeration(FIFO "First in, first out", LIFO "Last in, last out", Random "Random selection of entities, i.e., proportional draining") "Policies for processing queues and draining discrete delays" annotation(Icon(coordinateSystem(preserveAspectRatio = false, extent = {{-100, -100}, {100, 100}}, initialScale = 0.1, grid = {10, 10}), graphics = {Rectangle(visible = true, lineColor = {76, 112, 136}, fillColor = {255, 255, 255}, fillPattern = FillPattern.Solid, extent = {{-100, -100}, {100, 100}}), Text(visible = true, textColor = {76, 112, 136}, extent = {{-90, -50}, {90, 50}}, textString = "1..n", fontName = "Lato", textStyle = {TextStyle.Bold})}), Documentation(revisions = "
4 |
5 | Introduced in v2.1.0.
6 |
7 | "));
8 |
--------------------------------------------------------------------------------
/BusinessSimulation/Types/PriorityProfiles.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Types;
2 |
3 | type PriorityProfiles = enumeration(uniform "Uniform distribution", triangular "Triangular distribution", normal "Normal distribution", extremeValue "Extreme value distribution") "Distributions used to describe priority profiles used to allocate scare resources" annotation(Icon(coordinateSystem(preserveAspectRatio = false, extent = {{-100, -100}, {100, 100}}, initialScale = 0.1, grid = {10, 10}), graphics = {Rectangle(visible = true, lineColor = {76, 112, 136}, fillColor = {255, 255, 255}, fillPattern = FillPattern.Solid, extent = {{-100, -100}, {100, 100}}), Text(visible = true, textColor = {76, 112, 136}, extent = {{-90, -50}, {90, 50}}, textString = "1..n", fontName = "Lato", textStyle = {TextStyle.Bold})}), Documentation(revisions = "
4 |
5 | Introduced in v2.0.0.
6 |
7 | "));
8 |
--------------------------------------------------------------------------------
/BusinessSimulation/Types/Reals.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Types;
2 |
3 | type Reals = Real "Basic Real type with proper icon" annotation(Icon(coordinateSystem(preserveAspectRatio = false, extent = {{-100, -100}, {100, 100}}, initialScale = 0.1, grid = {10, 10}), graphics = {Rectangle(visible = true, lineColor = {76, 112, 136}, fillColor = {255, 255, 255}, pattern = LinePattern.None, extent = {{-100, -100}, {100, 100}}), Text(visible = true, textColor = {76, 112, 136}, extent = {{-90, -50}, {90, 50}}, textString = "R", fontName = "Lato", textStyle = {TextStyle.Bold})}));
4 |
--------------------------------------------------------------------------------
/BusinessSimulation/Types/Strings.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Types;
2 |
3 | type Strings = String "Basic Strings type with proper icon" annotation(Icon(coordinateSystem(preserveAspectRatio = false, extent = {{-100, -100}, {100, 100}}, initialScale = 0.1, grid = {10, 10}), graphics = {Rectangle(visible = true, lineColor = {76, 112, 136}, fillColor = {255, 255, 255}, pattern = LinePattern.None, extent = {{-100, -100}, {100, 100}}), Text(visible = true, textColor = {76, 112, 136}, extent = {{-90, -50}, {90, 50}}, textString = "S", fontName = "Lato", textStyle = {TextStyle.Bold})}));
4 |
--------------------------------------------------------------------------------
/BusinessSimulation/Types/TimeBases.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Types;
2 |
3 | final type TimeBases = enumeration(seconds "Standard unit of time", minutes "60 s", hours "3'600 s", days "86'400 s", weeks "604'800 s (7 days)", months "2'629'746 s (1/12 year)", quarters "7'889'238 s (3 months)", years "31'556'952 s (365.2425 days)") "Time bases for business simulations" annotation(Icon(coordinateSystem(preserveAspectRatio = false, extent = {{-100, -100}, {100, 100}}, initialScale = 0.1, grid = {10, 10}), graphics = {Rectangle(visible = true, lineColor = {76, 112, 136}, fillColor = {255, 255, 255}, fillPattern = FillPattern.Solid, extent = {{-100, -100}, {100, 100}}), Text(visible = true, textColor = {76, 112, 136}, extent = {{-90, -50}, {90, 50}}, textString = "1..n", fontName = "Lato", textStyle = {TextStyle.Bold})}), Documentation(revisions = "
4 |
5 | years
and derived time bases thereof (months
, quarters
) have been changed to average Gregorian years for better compatibility with calendar dates in v2.2.
6 |
7 | "));
8 |
--------------------------------------------------------------------------------
/BusinessSimulation/Types/package.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation;
2 |
3 | package Types "Package of Types"
4 | extends Icons.TypesPackage;
5 | annotation(Documentation(info = "
6 | This information is part of the Business Simulation Library (BSL). Please support this work and ► donate .
7 | This package contains types
.
8 |
9 |
10 | Copyright © 2020 Guido Wolf Reichert Licensed under the EUPL-1.2 or later
11 | "), Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {10, 10})), Diagram(coordinateSystem(extent = {{-148.5, -105}, {148.5, 105}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));
12 | end Types;
13 |
--------------------------------------------------------------------------------
/BusinessSimulation/Types/package.order:
--------------------------------------------------------------------------------
1 | AggregateFunctions
2 | BasicOrientors
3 | InitializationOptions
4 | MembershipFunctionTypes
5 | OutflowPriorities
6 | PriorityProfiles
7 | TimeBases
8 | StockInformation
9 | Reals
10 | Booleans
11 | Integers
12 | Strings
13 |
--------------------------------------------------------------------------------
/BusinessSimulation/Units/Amount.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Units;
2 |
3 | type Amount = ExtensiveQuantity(quantity = "Amount", unit = "each") "Amount [each]" annotation(Documentation(info = "
4 | Counting numbers of entities or substance (base unit = 'each').
5 | Notes
6 |
7 | We can think of each
as the mole
for social sciences, where we will essentially be counting discrete entities as opposed to measuring a quantity on the real plane.
8 | In System Modeler, the base unit each
will be represented by the number sign (#
) in Model Center and Simulation Center.
9 |
10 | "));
11 |
--------------------------------------------------------------------------------
/BusinessSimulation/Units/AmountOfSubstance.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Units;
2 |
3 | type AmountOfSubstance = ExtensiveQuantity(final quantity = "AmountOfSubstance", final unit = "mol") "Amount of substance [mol]" annotation(Documentation(info = "
4 | Si unit which is here also used as basis for more abstract counting units.
5 | "));
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Units/Angle.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Units;
2 |
3 | type Angle = IntensiveQuantity(final quantity = "Angle", final unit = "rad", displayUnit = "deg") "Angle [rad]" annotation(Documentation(info = "
4 | Angle in rad; entered and displayed in deg.
5 | "));
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Units/AngularMomentum.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Units;
2 |
3 | type AngularMomentum = ExtensiveQuantity(final quantity = "AngularMomentum", final unit = "kg.m2/s") "Angular momentum [kg.m2/s]" annotation(Documentation(info = "
4 | Angular momentum measured in kg.m2/s.
5 | "));
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Units/AngularMomentumFlowRate.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Units;
2 |
3 | type AngularMomentumFlowRate = Rate(final quantity = "AngularMomentumFlowRate", final unit = "kg.m2/s2") "Angular momentum flow rate (torque) [kg/m2/s2]" annotation(Documentation(info = "
4 | Angular momentum flow rate (aka torque) measured in kg.m2/s2.
5 | "));
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Units/Area.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Units;
2 |
3 | type Area = ExtensiveQuantity(final quantity = "Area", final unit = "m2") "Area [m2]" annotation(Documentation(info = "
4 | Area measured in m2.
5 | "));
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Units/DataCapacity.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Units;
2 |
3 | type DataCapacity = ExtensiveQuantity(quantity = "DataCapacity", final unit = "bit") "Data capacity [bit]" annotation(Documentation(info = "
4 | Data size or capacity measured in bit.
5 | ", revisions = "
6 |
9 | "));
10 |
--------------------------------------------------------------------------------
/BusinessSimulation/Units/DataTransferRate.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Units;
2 |
3 | type DataTransferRate = Rate(final quantity = "DataTransferRate", final unit = "bit/s") "Data transfer rate [bit/s]" annotation(Documentation(info = "
4 | Rate of data transmission measured in bit/s
.
5 | ", revisions = "
6 |
9 | "));
10 |
--------------------------------------------------------------------------------
/BusinessSimulation/Units/Density.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Units;
2 |
3 | type Density = IntensiveQuantity(final quantity = "Density", final unit = "kg/m3", displayUnit = "g/cm3", min = 0.0) "Density [kg/m3]" annotation(Documentation(info = "
4 | Density measured in kg/m3.
5 | ", revisions = "
6 |
7 | Introduced in v2.1.0.
8 |
9 | "));
10 |
--------------------------------------------------------------------------------
/BusinessSimulation/Units/Dimensionless.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Units;
2 |
3 | type Dimensionless = Unspecified(final unit = "1") "Dimensionless [1]" annotation(Documentation(info = "
4 | The SI unit 1 . The Business Simulation Library follows Flater [29 ] in splitting dimensionless units into →Ratio for dimensionless fractions of quantities and →Amount used for counts.
5 | "));
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Units/ElectricCharge.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Units;
2 |
3 | type ElectricCharge = ExtensiveQuantity(final quantity = "ElectricCharge", final unit = "C") "Electric charge [C]" annotation(Documentation(info = "
4 | SI unit for electric charge.
5 | "));
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Units/ElectricCurrent.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Units;
2 |
3 | type ElectricCurrent = Rate(final quantity = "ElectricCurrent", final unit = "A") "Electric current [A]|[C/s]" annotation(Documentation(info = "
4 | Electric current measured in A = C/s.
5 | "));
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Units/Energy.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Units;
2 |
3 | type Energy = ExtensiveQuantity(final quantity = "Energy", final unit = "J") "Energy [J]|[W.s]" annotation(Documentation(info = "
4 | Energy measured in Joule (W.s).
5 | "));
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Units/EnergyFlowRate.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Units;
2 |
3 | type EnergyFlowRate = Rate(final quantity = "Power", final unit = "W") "Energy flow rate (Power) [W]|[J/s]" annotation(Documentation(info = "
4 | Rate of energy transfer (power) usually measured in watt (W) or joule per second (J/s).
5 | "));
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Units/Entropy.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Units;
2 |
3 | type Entropy = ExtensiveQuantity(final quantity = "Entropy", final unit = "J/K") "Entropy [J/K]" annotation(Documentation(info = "
4 | SI unit also used for heat capacity.
5 | "));
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Units/EntropyFlowRate.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Units;
2 |
3 | type EntropyFlowRate = Rate(final quantity = "EntropyFlowRate", final unit = "J/(K.s)") "Entropy flow rate [J/(K.s)]" annotation(Documentation(info = "
4 | Rate of flow for entropy measured.
5 | "));
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Units/ExtensiveQuantity.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Units;
2 |
3 | type ExtensiveQuantity = Unspecified(quantity = "ExtensiveQuantity") "Extensive quantity" annotation(Documentation(info = "
4 | Base type for extensive properties of physical systems.
5 | "));
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Units/Fraction.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Units;
2 |
3 | type Fraction = Ratio(min = -1, max = 1) "Proper fraction between -1 and 1 [1]" annotation(Documentation(info = "
4 | A numeric value given as a proper fraction between 0 and 1, which can be positive or negative.
5 | "));
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Units/Goods.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Units;
2 |
3 | type Goods = Material "Finished or intermediary goods [each]" annotation(Documentation(info = "
4 | Finished or intermediary goods.
5 | "));
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Units/Information.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Units;
2 |
3 | type Information = Unspecified(quantity = "Information") "Information" annotation(Documentation(info = "
4 | Base type for purely cybernetic or informational quantities.
5 | "));
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Units/IntangibleAssets.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Units;
2 |
3 | type IntangibleAssets = Amount(quantity = "IntangibleAssets") "Intangible assets [each]" annotation(Documentation(info = "
4 | Intangible assets like computerized information, R & D, economic competencies, and other innovative properties.
5 | "));
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Units/IntensiveQuantity.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Units;
2 |
3 | type IntensiveQuantity = Unspecified(quantity = "IntensiveQuantity") "Intensive quantity" annotation(Documentation(info = "
4 | Base type for intensive properties of physical systems.
5 | "));
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Units/Labor.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Units;
2 |
3 | type Labor = ExtensiveQuantity(quantity = "Labor", unit = "FTE") "Labor [FTE]" annotation(Documentation(info = "
4 | Labor as production factor measured in FTE.
5 | "));
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Units/LaborGrowthRate.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Units;
2 |
3 | type LaborGrowthRate = Rate(quantity = "LaborGrowthRate", unit = "FTE/s") "Labor growth rate [FTE/s]" annotation(Documentation(info = "
4 | The rate of change for labor measured in FTE/s
.
5 | ", revisions = "
6 |
9 | "));
10 |
--------------------------------------------------------------------------------
/BusinessSimulation/Units/Length.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Units;
2 |
3 | type Length = ExtensiveQuantity(final quantity = "Length", final unit = "m") "Length [m]" annotation(Documentation(info = "
4 | Length (or width/breadth, height/depth etc.) measured in m.
5 | "));
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Units/Mass.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Units;
2 |
3 | type Mass = ExtensiveQuantity(final quantity = "Mass", final unit = "kg") "Mass [kg]" annotation(Documentation(info = "
4 | Mass measured in kg.
5 | "));
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Units/MassFlowRate.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Units;
2 |
3 | type MassFlowRate = Rate(final quantity = "MassFlowRate", final unit = "kg/s") "Mass flow rate [kg/s]" annotation(Documentation(info = "
4 | Mass flow rate measured in kg/s.
5 | "));
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Units/Material.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Units;
2 |
3 | type Material = TangibleAssets(quantity = "Material") "Material [each]" annotation(Documentation(info = "
4 | Primary commodities and unprocessed material.
5 | "));
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Units/Momentum.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Units;
2 |
3 | type Momentum = ExtensiveQuantity(final quantity = "Momentum", final unit = "kg.m/s") "Momentum [kg.m/s]" annotation(Documentation(info = "
4 | Momentum measured in kg.m/s.
5 | "));
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Units/MomentumFlowRate.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Units;
2 |
3 | type MomentumFlowRate = Rate(final quantity = "MomentumFlowRate", final unit = "kg.m/s2") "Momentum flow rate [km.m/s2]" annotation(Documentation(info = "
4 | Momentum flow rate (aka force) measured in kg.m/s2.
5 | "));
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Units/MonetaryFlow.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Units;
2 |
3 | type MonetaryFlow = Rate(quantity = "MonetaryFlow", unit = "XXX/s") "Monetary flow [¤/s]" annotation(Documentation(info = "
4 | The rate of monetary flow, e.g., currency, measured in XXX/s
.
5 | ", revisions = "
6 |
9 | "));
10 |
--------------------------------------------------------------------------------
/BusinessSimulation/Units/MonetaryFlow_CNY.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Units;
2 |
3 | type MonetaryFlow_CNY = MonetaryFlow(final unit = "CNY/s") "Monetary flow [CN¥/s]" annotation(Documentation(info = "
4 | The rate of monetary flow, e.g., currency, measured in CNY/s
.
5 | ", revisions = "
6 |
9 | "));
10 |
--------------------------------------------------------------------------------
/BusinessSimulation/Units/MonetaryFlow_EUR.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Units;
2 |
3 | type MonetaryFlow_EUR = MonetaryFlow(final unit = "EUR/s") "Monetary flow [€/s]" annotation(Documentation(info = "
4 | The rate of monetary flow, e.g., currency, measured in EUR/s
.
5 | ", revisions = "
6 |
9 | "));
10 |
--------------------------------------------------------------------------------
/BusinessSimulation/Units/MonetaryFlow_GBP.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Units;
2 |
3 | type MonetaryFlow_GBP = MonetaryFlow(final unit = "GBP/s") "Monetary flow [£/s]" annotation(Documentation(info = "
4 | The rate of monetary flow, e.g., currency, measured in GBP/s
.
5 | ", revisions = "
6 |
9 | "));
10 |
--------------------------------------------------------------------------------
/BusinessSimulation/Units/MonetaryFlow_JPY.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Units;
2 |
3 | type MonetaryFlow_JPY = MonetaryFlow(final unit = "JPY/s") "Monetary flow [JP¥/s]" annotation(Documentation(info = "
4 | The rate of monetary flow, e.g., currency, measured in JPY/s
.
5 | ", revisions = "
6 |
9 | "));
10 |
--------------------------------------------------------------------------------
/BusinessSimulation/Units/MonetaryFlow_USD.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Units;
2 |
3 | type MonetaryFlow_USD = MonetaryFlow(final unit = "USD/s") "Monetary flow [US$/s]" annotation(Documentation(info = "
4 | The rate of monetary flow, e.g., currency, measured in USD/s
.
5 | ", revisions = "
6 |
9 | "));
10 |
--------------------------------------------------------------------------------
/BusinessSimulation/Units/Money.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Units;
2 |
3 | type Money = ExtensiveQuantity(quantity = "Money", unit = "XXX") "Money [¤]" annotation(Documentation(info = "
4 | Anything used as a medium of exchange, a unit of accounting, and a store of value (base unit = 'XXX').
5 | Notes
6 |
7 | In using the base unit XXX
we interpret ISO 4217 to mean \"unspecified currency\" and thus we can use this unit whenever we refer to some general currency unit.
8 | In Wolfram System Modeler, the symbol ¤ is used in Model Center and Simulation Center.
9 |
10 | ", revisions = "
11 |
12 | Modified unit = \"XXX\"
in v2.2.
13 |
14 | "));
15 |
--------------------------------------------------------------------------------
/BusinessSimulation/Units/Money_CNY.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Units;
2 |
3 | type Money_CNY = Money(final unit = "CNY") "Money [CN¥]" annotation(Documentation(info = "
4 | Money accounted for in Reminbi.
5 | "));
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Units/Money_EUR.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Units;
2 |
3 | type Money_EUR = Money(final unit = "EUR") "Money [€]" annotation(Documentation(info = "
4 | Money accounted for in EUR.
5 | "));
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Units/Money_GBP.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Units;
2 |
3 | type Money_GBP = Money(final unit = "GBP") "Money [£]" annotation(Documentation(info = "
4 | Money accounted for in GBP.
5 | "));
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Units/Money_JPY.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Units;
2 |
3 | type Money_JPY = Money(final unit = "JPY") "Money [JP¥]" annotation(Documentation(info = "
4 | Money accounted for in JPY.
5 | "));
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Units/Money_USD.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Units;
2 |
3 | type Money_USD = Money(final unit = "USD") "Money [US$]" annotation(Documentation(info = "
4 | Money accounted for in USD.
5 | "));
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Units/Orders.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Units;
2 |
3 | type Orders = IntangibleAssets(quantity = "Orders") "Orders [each]" annotation(Documentation(info = "
4 | Orders are an operational stock used to model the delay between a stated need and its fulfillment.
5 | "));
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Units/People.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Units;
2 |
3 | type People = Population "Human population [each]" annotation(Documentation(info = "
4 | Some human population (e.g., number of people).
5 | "));
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Units/Population.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Units;
2 |
3 | type Population = Amount(quantity = "Population") "Population [each]" annotation(Documentation(info = "
4 | A population of individuals or organisms belonging to the same group or species.
5 | "));
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Units/PositiveRatio.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Units;
2 |
3 | type PositiveRatio = Ratio(final min = 0) "Positive ratio [1]" annotation(Documentation(info = "
4 | A dimensionless ratio that is positive.
5 | "));
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Units/Probability.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Units;
2 |
3 | type Probability = Fraction(final min = 0, final max = 1) "Probability [1]" annotation(Documentation(info = "
4 | A dimensionless measure between zero and one, e.g., probability, membership of fuzzy set, or unit scale utility.
5 | "));
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Units/Rate.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Units;
2 |
3 | type Rate = Unspecified(quantity = "Rate", unit = "1/s") "Dimensionless rate of flow [1/s]" annotation(Documentation(info = "
4 | Dimensionless flow rate per unit of time, e.g., a fractional rate of flow like interest.
5 | "));
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Units/Ratio.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Units;
2 |
3 | type Ratio = Dimensionless "Ratio [1]" annotation(Documentation(info = "
4 | A dimensionless ratio, e.g., dividing two quantities with the same units like mass/mass.
5 | "));
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Units/TangibleAssets.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Units;
2 |
3 | type TangibleAssets = Amount(quantity = "TangibleAssets") "Tangible assets [each]" annotation(Documentation(info = "
4 | Tangible assets like buildings and structure, machinery and equipment, and cultivated assets.
5 | "));
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Units/Temperature.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Units;
2 |
3 | type Temperature = IntensiveQuantity(final quantity = "ThermodynamicTemperature", final unit = "K", min = 0.0, start = 288.15, nominal = 300, displayUnit = "degC") "Absolute temperature [K]" annotation(absoluteValue = true, Documentation(info = "
4 | Absolute temperature (use type TemperatureDifference for relative temperatures).
5 | ", revisions = "
6 |
7 | Introduced in v2.1.0.
8 |
9 | "));
10 |
--------------------------------------------------------------------------------
/BusinessSimulation/Units/TemperatureDifference.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Units;
2 |
3 | type TemperatureDifference = IntensiveQuantity(final quantity = "ThermodynamicTemperature", final unit = "K", displayUnit = "degC") "Temperature difference [K]" annotation(absoluteValue = false, Documentation(info = "
4 | Difference of temperatures using annotation(absoluteValue = false)
to disregard off value for conversions.
5 | ", revisions = "
6 |
7 | Introduced in v2.1.0.
8 |
9 | "));
10 |
--------------------------------------------------------------------------------
/BusinessSimulation/Units/Time.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Units;
2 |
3 | type Time = Unspecified(final quantity = "Time", final unit = "s") "Time [s]" annotation(Documentation(info = "
4 | SI unit of time.
5 | "));
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Units/Time_days.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Units;
2 |
3 | type Time_days = Time(displayUnit = "d") "Time [d]" annotation(Documentation(info = "
4 | Time entered and displayed in days, which span 24 hours or 1'440 minutes or 84'000 seconds.
5 | "));
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Units/Time_hours.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Units;
2 |
3 | type Time_hours = Time(displayUnit = "h") "Time [h]" annotation(Documentation(info = "
4 | Time entered and displayed in hours, which span 60 minutes and thus 3600 seconds.
5 | "));
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Units/Time_minutes.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Units;
2 |
3 | type Time_minutes = Time(displayUnit = "min") "Time [min]" annotation(Documentation(info = "
4 | Time entered and displayed in minutes.
5 | "));
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Units/Time_months.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Units;
2 |
3 | type Time_months = Time(displayUnit = "mo") "Time [mo]" annotation(Documentation(info = "
4 | Time entered and displayed in Gregorian months, which are the twelfth part of an →average Gregorian calendar year .
5 | See also
6 |
7 | Time_years ,
8 | Time_quarters
9 |
10 |
11 | ", revisions = "
12 |
13 | Changed to be based upon Gregorian mean calendar years in v2.2.
14 |
15 | "));
16 |
--------------------------------------------------------------------------------
/BusinessSimulation/Units/Time_quarters.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Units;
2 |
3 | type Time_quarters = Time(displayUnit = "qtr") "Time [qtr]" annotation(Documentation(info = "
4 | Time entered and displayed in quarter years, which span a quarter of an →average Gregorian calendar year ..
5 | See also
6 |
7 | Time_years ,
8 | Time_months
9 |
10 | ", revisions = "
11 |
12 | Changed to be based upon Gregorian mean calendar years in v2.2.
13 |
14 | "));
15 |
--------------------------------------------------------------------------------
/BusinessSimulation/Units/Time_weeks.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Units;
2 |
3 | type Time_weeks = Time(displayUnit = "wk") "Time [wk]" annotation(Documentation(info = "
4 | Time entered and displayed in weeks, which span exactly 7 days each.
5 | "));
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Units/UnitScaleIntangibles.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Units;
2 |
3 | type UnitScaleIntangibles = Probability(quantity = "IntangibleAssets", displayUnit = "percent") "Intangibles measured on the unit scale [1]" annotation(Documentation(info = "
4 | Intangibles like reputation or informational/psychological resources measured on a dimensionless unit scale.
5 | ", revisions = "
6 |
7 | Added final unit = \"1\"
in v2.2.
8 | "));
9 |
--------------------------------------------------------------------------------
/BusinessSimulation/Units/Unspecified.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Units;
2 |
3 | type Unspecified = Reals "Unspecified" annotation(Documentation(info = "
4 | Base type of all library units.
5 | ", revisions = "
6 |
7 | Removed quantity = \"Unspecified\"
in v2.2.
8 | "));
9 |
--------------------------------------------------------------------------------
/BusinessSimulation/Units/Velocity.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Units;
2 |
3 | type Velocity = Rate(final quantity = "Velocity", final unit = "m/s") "Velocity [m/s]" annotation(Documentation(info = "
4 | Velocity given in m/s.
5 | "));
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Units/Volume.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Units;
2 |
3 | type Volume = ExtensiveQuantity(final quantity = "Volume", final unit = "m3") "Volume [m3]" annotation(Documentation(info = "
4 | Volume measured in m3.
5 | "));
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Units/VolumeFlowRate.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.Units;
2 |
3 | type VolumeFlowRate = Rate(final quantity = "VolumeFlowRate", final unit = "m3/s") "Volume flow rate [m3/s]" annotation(Documentation(info = "
4 | Volume flow rate measured in m3/s.
5 | "));
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/Units/package.order:
--------------------------------------------------------------------------------
1 | Unspecified
2 | Dimensionless
3 | Ratio
4 | PositiveRatio
5 | Fraction
6 | Probability
7 | Information
8 | ExtensiveQuantity
9 | Amount
10 | Population
11 | People
12 | Labor
13 | TangibleAssets
14 | Material
15 | Goods
16 | IntangibleAssets
17 | UnitScaleIntangibles
18 | Orders
19 | Money
20 | Money_USD
21 | Money_EUR
22 | Money_JPY
23 | Money_GBP
24 | Money_CNY
25 | Volume
26 | Mass
27 | Energy
28 | ElectricCharge
29 | DataCapacity
30 | Entropy
31 | Momentum
32 | AngularMomentum
33 | AmountOfSubstance
34 | IntensiveQuantity
35 | Angle
36 | Length
37 | Area
38 | Density
39 | Temperature
40 | TemperatureDifference
41 | Rate
42 | AmountRate
43 | LaborGrowthRate
44 | MonetaryFlow
45 | MonetaryFlow_EUR
46 | MonetaryFlow_USD
47 | MonetaryFlow_GBP
48 | MonetaryFlow_JPY
49 | MonetaryFlow_CNY
50 | VolumeFlowRate
51 | MassFlowRate
52 | EnergyFlowRate
53 | MomentumFlowRate
54 | AngularMomentumFlowRate
55 | Velocity
56 | EntropyFlowRate
57 | DataTransferRate
58 | ElectricCurrent
59 | Time
60 | Time_minutes
61 | Time_hours
62 | Time_days
63 | Time_weeks
64 | Time_months
65 | Time_quarters
66 | Time_years
67 |
--------------------------------------------------------------------------------
/BusinessSimulation/UsersGuide/ReleaseNotes/Version_2_1_1.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.UsersGuide.ReleaseNotes;
2 |
3 | final class Version_2_1_1 "Version 2.1.1 (2023-05-02)"
4 | extends Modelica.Icons.ReleaseNotes;
5 | extends Icons.DocumentationInfo;
6 | annotation(Documentation(info = "
7 | This information is part of the Business Simulation Library (BSL). Please support this work and ► donate .
8 | Some errors were fixed :
9 |
10 | Fixed library reference in uses
annotation.
11 | ClassInterfaces/PartialCLD/SourceOrSink.mo
needs to have OutputType
for the parameter rate
.
12 | Fixed spelling errors in some file references.
13 |
14 | "), Diagram(coordinateSystem(extent = {{-150, -90}, {150, 90}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})), Icon(coordinateSystem(preserveAspectRatio = false, extent = {{-100, -100}, {100, 100}}, initialScale = 0.1, grid = {10, 10})));
15 | end Version_2_1_1;
16 |
--------------------------------------------------------------------------------
/BusinessSimulation/UsersGuide/ReleaseNotes/package.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.UsersGuide;
2 |
3 | package ReleaseNotes "Release notes"
4 | extends Modelica.Icons.ReleaseNotes;
5 | extends Icons.DocumentationInfo;
6 | annotation(Documentation(info = "
7 | This information is part of the Business Simulation Library (BSL). Please support this work and ► donate .
8 | This package contains release notes.
9 |
10 |
11 | Copyright © 2020 Guido Wolf Reichert Licensed under the EUPL-1.2 or later
12 | "), Diagram(coordinateSystem(extent = {{-150, -90}, {150, 90}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})), Icon(coordinateSystem(preserveAspectRatio = false, extent = {{-100, -100}, {100, 100}}, initialScale = 0.1, grid = {10, 10})));
13 | end ReleaseNotes;
14 |
--------------------------------------------------------------------------------
/BusinessSimulation/UsersGuide/ReleaseNotes/package.order:
--------------------------------------------------------------------------------
1 | Version_2_2_0
2 | Version_2_1_1
3 | Version_2_1_0
4 | Version_2_0_0
5 | Version_1_0_1
6 | Version_1_0_0
7 |
--------------------------------------------------------------------------------
/BusinessSimulation/UsersGuide/Tutorial/package.mo:
--------------------------------------------------------------------------------
1 | within BusinessSimulation.UsersGuide;
2 |
3 | final package Tutorial "A tutorial for using the Business Simulation Library"
4 | extends Icons.Info;
5 | extends Icons.DocumentationInfo;
6 | annotation(Documentation(info = "
7 | This information is part of the Business Simulation Library (BSL). Please support this work and ► donate .
8 | This package contains documentation files to guide users in becoming familiar with the library.
9 | See also
10 |
11 | Examples
12 |
13 |
14 |
15 | Copyright © 2020 Guido Wolf Reichert Licensed under the EUPL-1.2 or later
16 | "), Diagram(coordinateSystem(extent = {{-150, -90}, {150, 90}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));
17 | end Tutorial;
18 |
--------------------------------------------------------------------------------
/BusinessSimulation/UsersGuide/Tutorial/package.order:
--------------------------------------------------------------------------------
1 | StrategicBusinessSimulation
2 | ElementaryBuildingBlocks
3 | UnitsInBusinessSimulations
4 |
--------------------------------------------------------------------------------
/BusinessSimulation/UsersGuide/package.order:
--------------------------------------------------------------------------------
1 | Tutorial
2 | Licence
3 | References
4 | ReleaseNotes
5 | Contact
6 |
--------------------------------------------------------------------------------
/BusinessSimulation/package.order:
--------------------------------------------------------------------------------
1 | UsersGuide
2 | ModelSettings
3 | Examples
4 | CausalLoop
5 | Stocks
6 | Flows
7 | SourcesOrSinks
8 | Converters
9 | InformationSources
10 | MoleculesOfStructure
11 | Sensors
12 | Interfaces
13 | Functions
14 | Constants
15 | Types
16 | Units
17 | Icons
18 |
--------------------------------------------------------------------------------