Basic functions
Name | Description |
---|---|
GasProperties | |
Dispersion | Function calculates the statistical dispersion |
GetPowerTiming | |
MeanValue | Function calculates the mean value of an vector |
efficiency_base | Base function for efficiency calculation |
efficiency_constant | Gives back constant efficiency |
efficiency_linear | Approximizes efficiency between two defined points linearly |
efficiency_quadratic | Approximizes efficiency between three defined points quadratically |
find_max | Finds the minimum (maximum) value of a vector |
find_min | Finds the minimum (maximum) value of a vector |
fullPathName | Get full path name of file or directory name (with logging to console) |
hist | Smooth Cubic function to that can be used to implement two point control without state events |
plotResult | Function for plotting results |
sat | Smooth saturation of input x between xmin and xmax without state events |
standardDeviation | function calculates the standard deviation |
bool2real | Tranforms boolean to real number for multiplication |
getPrimaryEnergyCarrierFromHeat | Maps the enum 'primaryEnergyCarrierHeat' to 'primaryEnergyCarrier' |
inverseXRegularized | Function that approximates 1/x by a twice continuously differentiable function |
getNumberOfOccurences | Returns number of occurences of e in a given vector v |
findAll | Finds all occurences of e in a given vector v and returns the positions |
findSetDifference | Creates a vector which only contains the elements of vector which do not exist in subset |
real2integer | |
boolean2integer | |
getIndex | Return the Index of a matrix based upon a parameter |
calc_true_booleans | Calculates the amount of true booleans in a array with size n |