    

 ## On this page

  

 

 # getEquation

 Last update: 30.07.2026 

public [getEquation](get-equation.md)(): [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html)

if the variable is a custom variable, this function returns the equation used to compute the value for the variable. This equation may only be a single variable.

#### Return

the variable's equation

#### Throws

[ModelCenterException](./../-model-center-exception/index.md)