Getting Started with AMEPilot and the Export module > Polynomial integrator
Running the simulation
Before you run a simulation outsideSimcenter Amesim using AMEPilot AMEPilot running a simulation , run a normal simulation insideSimcenter Amesim. Plot a graph of the output from the integrator.
Figure 7: Output from integrator with normal run
Clearly the function being integrated is x which is the default value in FX00. Keep Simcenter Amesim and polynomialIntegrator.ame open and keep your graph displayed. You are ready to run AMEPilot.
Step1: Set the parameters you want for the run using an ASCII file
Export setup template files
Procedure
In the directory where you saved polynomialIntegrator.ame, make a copy of the file polynomialIntegrator_.in.tpl and rename it to polynomialIntegrator_.in.
Edit polynomialIntegrator_.in using your preferred text editor.
The file contains the following lines:
a 1
b 1
c 1
- Change it to
a 3
b 2
c 1
- Save it.
Applying simple integration the result we should get is:
Step 2: Run the simulation
Procedure
Open a command line window for your operating system.
Change to the directory where polynomialIntegrator.ame is stored.
Ensure that an environment variable AME is set and points to the directory where Simcenter Amesim is installed.
Ensure that your PATH environment variable is set up so that AMEPilot can be accessed.
Launch the following command:
AMEPilot ./polynomialIntegrator
Step 3: Read the results
When the command is completed, the results are available in the file named polynomialIntegrator_.out.
Procedure
- Open the file with your preferred editor.
The contents of the file is: integralValue 1.11000000000004e+003
- Update your plot in Simcenter Amesim and compare it with the figure above.
Results
Figure 8: Output from integrator using AMEPilot
Clearly the parameters defined in the Export facility are being used. You can try other sets of coefficients for the polynomial by changing the values associated with a, b and c.
Source: https://docs.sw.siemens.com/en-US/doc/254352342/PL20250521841123434.amesim_collection.Export/xid924751 · retrieved 2026-07-17