Getting Started with AMEPilot and the Export module > Polynomial integrator
Using Compound Output Parameters
Compound Output Parameters
Export setup Compound Output Parameters
Let's imagine we are not only interested in computing the integration on the whole interval [0,10]. We also want to be able to compute this integration on any interval [startTime, stopTime] included in [0,10]
An easy way of doing this is to use compound output parameters.
Step 1: Setting compound parameters
Procedure
Open the Export Parameters Setup dialog box with the menu Interfaces > Export Setup .
Add two new inputs with the Add button named startTime and stopTime with default values respectively 0 and 10.
Figure 9: New inputs
Go to Simulation mode.
Add the output of FX00 to the Simple Output Parameters list and rename it P.
Figure 10: Simple Output Parameters
Select the Compound Output Parameters tab.
Click on the Add button.
A new line appears.
Change the name to restrictedInteg.
Click twice on the expression cell. Enter the following expression: integ(restrict(P, startTime, stopTime))
You can use the expression editor as explained in Expression editor.
- Click on the Save button.
Figure 11: Compound Output Parameters
Step 2: Set the print interval and run the simulation
Procedure
As the compound output parameter accuracy depends on the print interval, set a smaller print interval: for instance 0.01 (see Setting Run parameters section of the Simcenter Amesim Reference Manual for details about setting this).
Change the contents of the file polynomialIntegrator_.in to:
a 3
b 2
c 1
startTime 0
stopTime 10
- To do this, you can either:
add the two last lines to the one used previously, or
remove this file and make a copy of the file polynomialIntegrator_.in.tpl and rename it to polynomialIntegrator_.in.
- Run the simulation using AMEPilot and load the polynomialIntegrator_.out file into an editor.
The results are:
integralValue 1.11000000000004e+003
P 3.21000000000000e+002
restrictedInteg 1.11000050000000e+003
- Now change the startTime to 2 and the stopTime to 8.
Note that in this case we have:
- Run the simulation with AMEPilot.
The contents of polynomialIntegrator_.out is then conform to our expectation:
integralValue 1.11000000000004e+003
P 3.21000000000000e+002
restrictedInteg 5.70000299999993e+002
Results
Note
Simple Output Parameters are values obtained directly from the results file.
Compound Outputs Parameters are obtained by post processing a valid expression involving Simple Output Parameters, Input Parameters and other Compound Output Parameters.
Source: https://docs.sw.siemens.com/en-US/doc/254352342/PL20250521841123434.amesim_collection.Export/Using_compound_output_parameters · retrieved 2026-07-17