Menu

Calculation Log in to Edit

Martin Mueller

Calculation

The result of the modeling process is a simulation file and several models. To avoid confusion between different calculation projects it makes sense to save them in a meaningful named directory. For example the simulation file for the second example out of the GUM Supplement 1 is located in the subdirectory GS92 in the project directory muse/projects. The model files for this example are in the directory muse/projects/GS92/model.

To run the calculation you need to start the executable file muse, which is located in the folder muse/bin. If you start the software without any arguments the output will look like this:

MUSE - Measurement Uncertainty Simulation and Evaluation
Version 0.4.0
Parameters:
  Inputfile  - File with initialisation and process information (xml)
  Bibpath    - Path to definition files of devices
  Outputfile - File for output data (omit extension!)
  MonteCarlo - Number of monte carlo simulations (default 1000)
Additional parameters:
  -v         - Validation; runs some test cases before simulation
  -a         - Adaptive Monte Carlo;
  -b         - Binary output, if set; otherwise plain text
  -m         - Show model and submodels;
  -c         - Continue (quit) after calculation without user interaction
Continue with return...

To start a calculation with your project files you need at least to tell MUSE

  • Where the simulation file is (Inputfile)
  • Where MUSE can find the model files used in the simulation file
  • Where the result should be saved (Outputfile)

The result of the calculation will then be stored in the specified file and can be interpreted.

To start the calculation for the third example in the GUM supplement 1 you need to open a console (command prompt), change into the directory muse/projects and execute

..\bin\muse .\GS93\sim.xml .\GS93\model .\GS93\output\GS93 -b

Alternatively you can write a script file (.bat file (Windows) or a .sh file (Linux)) and run MUSE by starting the script. There are scripts for all examples included in the download package in the muse/projects folder for windows and linux.


Related

Wiki: Command Prompt
Wiki: Home
Wiki: Modeling

MongoDB Logo MongoDB