.BusinessSimulation.Functions

Functions used within the library

Information

This information is part of the Business Simulation Library (BSL). Please support this work and ► donate.

This pacakge contains functions used in the library.



Copyright © 2020 Guido Wolf Reichert
Licensed under the EUPL-1.2 or later

Contents

Name Description
 allocateAvailable Allocate an available amount using priority profiles given by distributions
 allocatedAmounts Allocate a scarce resoure using priority profiles given by distributions
 allocateExtremeValue Allocate a scarce resoure using an extreme value priority distribution
 allocateNormal Allocate a scarce resoure using a normal priority distribution
 allocateTriangular Allocate a scarce resoure using a triangular priority distribution
 allocateUniform Allocate a scarce resoure using a uniform priority distribution
 allTrueQ Gives true, if all elements in a vector of Booleans are true
 areaLineSegment Calculate the area under a line segment
 arithmeticMean (Weighted) arithmetic mean
 bitShiftRight n >> k
 boole Returns 1.0 if input is true, and 0.0 otherwise
 clip Clip values so they do not extend beyond a given interval
 constrainedRate Set rate for a port according to signals from stock
 constrainedRateBoolean Return true, if the indicated rate meets restrictions
 evalmf Evaluate a fuzzy membership function
 gaussmf Gaussian membership function
 gbellmf Generalized bell-shaped membership function
 geometricMean (Weighted) geometric mean
 hunt Find left index in an ordered list of value given a start index value
 interpolate Interpolate in an ordered list of tuples
 locate Find left index in an ordered list of values
 janoschek Janoschek's Growth Curve
 noneTrueQ Gives true, if no element in a vector of Booleans is true
 normalizationConstant Calculate the normalization constant for a distribution given by a piecewise linear density function
 normalizePLpdf Normalize a piecewise linear density function given by a list of points
 notZeroQ Yields true if input is different from zero
 pimf Pi-shaped membership function
 plCDF Generate a piecewise linear cumulative distribution function from a piecewise linear density function
 polynomialFunction Polynomial function of degree n
 psigmf Product of two sigmoidal membership functions
 rampmf Bounded ramp membership function
 rawInterpolate Interpolate in a list of tuples given the index value for the index value to the left
 rescale Rescale values from one range to another
 rescaleVector Rescale a list of values from one range to another
 shiftList Shift a list n steps, report carry, and fill gaps
 sigmf Sigmoidal membership function
 smf S-shaped membership function
 stringToTimeBase Find the corresponding element of the TimeBases enumeration for a given time base string
 trapmf Trapezoidal membership function
 trimf Triangular membership function
 UtilityFunctions Functions used as function arguments

Generated at 2026-03-31T18:29:59Z by OpenModelicaOpenModelica 1.26.3 using GenerateDoc.mos