Logo GenPRES

Variable Module

Replaces the values of a solver variable with a set of values and holds the added functions for a value range.

Nested modules

Modules Description

ValueRange

Sets an optional minimum, maximum, increment or value set on a value range and returns the union of several value ranges.

Functions and values

Function or value Description

replaceValuesWithValueUnit vu var

Full Usage: replaceValuesWithValueUnit vu var

Parameters:
    vu : ValueUnit - The ValueUnit to set as a ValueSet
    var : Variable - The Variable to set the ValueSet to

Returns: Variable

Replace the Values of a Variable with a ValueSet

vu : ValueUnit

The ValueUnit to set as a ValueSet

var : Variable

The Variable to set the ValueSet to

Returns: Variable

Type something to start searching.