A SubModel can be used to do an inner optimization inside of the main model. This example model illustrates a simple case of an inner optimization implementation. The objective is to minimize the objective function defined within the submodel at each time step. The expected optimum is a value equal to the square root of "Driver".
To Open the Model File:
- Start GoldSim
- Click on the File and select Open Example...
- Browse to General Examples --> Submodels
- Select the file called DynamicOptimization.gsm