.BusinessSimulation.MoleculesOfStructure.Policy.Allocation_Brent

Information

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

The output vector y gives an allocation of the single input u, which may be a rate or simply an available amount of entities. The allocation is done according to the priorities associated with the repicients (e.g., suppliers or buyers) and their individual capacities, so that even the most attractive recipient will never get more than the maximum amount offered or demanded.

Notes

Allocation_Brent has the same functionality as Allocation, but while the latter uses the DAE solver, the former uses Modelica.Math.Nonlinear.solveOneNonlinearEquation to find the allocated amounts. The class has not been tested thoroughly, yet, and is added [EXPERIMENTALLY] here.

See also

Allocation, SplitProportionally

Revisions


Generated at 2024-11-21T19:25:40Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos