Param#

module wntr.sim.aml.expr

class Param[source]#

Bases: Leaf


__init__(val=0)[source]#
evaluate()#

Evaluate the expression numerically.

Returns:

val – The floating point value of the expression.

Return type:

float

get_floats()[source]#
get_leaves()[source]#
get_params()[source]#
get_rpn(leaf_ndx_map)#
get_vars()[source]#
is_expression_type()[source]#
is_float_type()[source]#
is_leaf()#
is_parameter_type()[source]#
is_relational()#
is_variable_type()[source]#
last_node()#
operators()#
reverse_ad()#
reverse_sd()#
property name#
property value#