.BusinessSimulation.Functions.UtilityFunctions.findClearAttrac

Information

y = available - sum( allocatedAmounts(u, vecA, vecC, vecW, pp) )

Interface

encapsulated function findClearAttrac
  import partialScalarFunc = Modelica.Math.Nonlinear.Interfaces.partialScalarFunction;
  import BusinessSimulation.Functions.allocatedAmounts;
  import PP = BusinessSimulation.Types.PriorityProfiles;
  extends partialScalarFunc;
  input Real amount "Available amount";
  input Real[:] vecA "Vector of attractiveness (i.e., priority) scores for recipients";
  input Real[size(vecA, 1)] vecC "Vector of supply capacities or demand saturation levels";
  input Real[size(vecA, 1)] vecW "Vector of width parameters for priority distributions";
  input PP pp = PP.uniform "Priority distribution to be used for allocation";
end findClearAttrac;

Generated at 2024-12-21T19:25:56Z by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos