Getting Started


Prerequisites

fPMC has been tested on Mac OS from a MacBook Pro (early 2015 type) with 2.7GHz dual Core Intel i5 processor and 8GB RAM. Running fPMC requires the following prerequisites:

Storm is a Probabilistic Model Checker, which supports parametric model checker, verision 1.5.1 was used in the current verision of fPMC

* After installing Storm on your own computer, please make a note of the bin directory to location storm-pars (e.g., /usr/local/bin/storm-pars).

fPMC fPMC tool.

Matlab (Version R2020a) was used for evaluating the formulae returned by PMC only, not required for running fPMC.


Installing fPMC

Once you have installed Storm model checker, and downloaded and uncompressed the fPMC software to a new directory on your computer, the directory should now contain the following items:


Running fPMC for the first time

Once the fPMC software has been downloaded and uncompressed from fPMC zip file, you should extract the contents to a local directory and edit the configuration for the desired experiment.

Below we show an example of a configuration file, noting that STORM_PATH needs to be changed according to your local storm path:

Having edited the configuration file we now execute fPMC by loading and executing launch.sh file in the terminal as follows:

> chmod 700 launch.sh
> ./launch.sh

If fPMC is running successfully, your terminal window should return the following:

A new folder will be created to store all output files, including the algebraic formulae, for evaluation.

The fPMC outputs

A number of files will be generated if the pDTMC is successfuly analysed by fPMC. That includes:

  • One of more models for the identified fragments, specided in PRISM language (e.g., fragment_*_model.pm)
  • The same number of property files as the number of fragments (e.g., fragment_*_property.pctl)
  • One abstract model, specided in PRISM language (e.g., fragment_abstract_model.pm)
  • One abstract property (e.g., fragment_abstract_property.pctl)
  • One text file containing all formulae and other releavent information (i.e., Model_expressions)
  • A Matlab file Old_model.m stores the graphical structure of the original pDTMC
  • A Matlab file new_model.m stores the graphical structure of the pDTMC after fPMC (additional states or tranisitions may be added)
  • Evaluating formulae

    Open file Model_expressions, and scroll down to find a line that contains follwoing:

    Copy everything below the line into Matlab. The analysed fPMC results will be returned by providing the value for each parameter.


    fPMC source code

    fPMC source code is also available to download.