.TransiEnt.Basics.Functions

Basic functions

Contents

NameDescription
GasProperties
DispersionFunction calculates the statistical dispersion
GetPowerTiming
MeanValueFunction calculates the mean value of an vector
efficiency_baseBase function for efficiency calculation
efficiency_constantGives back constant efficiency
efficiency_linearApproximizes efficiency between two defined points linearly
efficiency_quadraticApproximizes efficiency between three defined points quadratically
find_maxFinds the minimum (maximum) value of a vector
find_minFinds the minimum (maximum) value of a vector
fullPathNameGet full path name of file or directory name (with logging to console)
histSmooth Cubic function to that can be used to implement two point control without state events
plotResultFunction for plotting results
satSmooth saturation of input x between xmin and xmax without state events
standardDeviationfunction calculates the standard deviation
bool2realTranforms boolean to real number for multiplication
getPrimaryEnergyCarrierFromHeatMaps the enum 'primaryEnergyCarrierHeat' to 'primaryEnergyCarrier'
inverseXRegularizedFunction that approximates 1/x by a twice continuously differentiable function
getNumberOfOccurencesReturns number of occurences of e in a given vector v
findAllFinds all occurences of e in a given vector v and returns the positions
findSetDifferenceCreates a vector which only contains the elements of vector which do not exist in subset
real2integer
boolean2integer
getIndexReturn the Index of a matrix based upon a parameter
calc_true_booleansCalculates the amount of true booleans in a array with size n

Generated at 2025-12-02T19:14:02Z by OpenModelicaOpenModelica 1.25.7 using GenerateDoc.mos