MoDeNa  1.0
Software framework facilitating sequential multi-scale modelling
Kinetics.py
1 
31 
32 
41 
42 import os
43 import modena
44 from modena import ForwardMappingModel, BackwardMappingModel, SurrogateModel, CFunction, IndexSet, ModenaFireTask
45 import modena.Strategy as Strategy
46 from fireworks import Firework, Workflow, FWAction
47 from fireworks.utilities.fw_utilities import explicit_serialize
48 from jinja2 import Template
49 from PrediciKinetics import PrediciKinetics
50 
51 k = PrediciKinetics(
52  _id= 'RF-1-public',
53  fileName= os.path.dirname(os.path.abspath(__file__)) + '/RF-1-public.c',
54 )
55 
56 m = ForwardMappingModel(
57  _id= 'RF-1-public',
58  surrogateFunction= k,
59  substituteModels= [ ],
60  importFrom= 'Kinetics.PrediciKinetics'
61 )