03.02.2015 Views

HIERARCHAL INDUCTIVE PROCESS MODELING AND ANALYSIS ...

HIERARCHAL INDUCTIVE PROCESS MODELING AND ANALYSIS ...

HIERARCHAL INDUCTIVE PROCESS MODELING AND ANALYSIS ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

C. Full ross Sea generic model library<br />

#!/usr/bin/python<br />

"""<br />

This generic model library supports the construction<br />

of an ecosystem model of the Ross Sea.<br />

It is hierarchical in processes, but the entites are flat.<br />

This version is updated and corrected.<br />

It is designed for use with the sensitivity analysis experiments<br />

"""<br />

from library import *;<br />

from entities import *;<br />

from processes import *;<br />

lib = library("aquatic_ecosystem");<br />

# -----------------------------------------------------------------------<br />

# -----------------------------------------------------------------------<br />

# GENERIC ENTITIES<br />

# id, variables, constant parameters<br />

# -----------------------------------------------------------------------<br />

# --- PHYTOPLANKTON ---<br />

pe = lib.add_generic_entity("P",<br />

{"conc":"sum",<br />

"growth_rate":"prod",<br />

"growth_lim":"min"},<br />

{"max_growth": (0.4,0.8),<br />

"exude_rate": (0.001,0.2),<br />

75

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!