Commit 532542ae authored by SOLIMAN Sylvain's avatar SOLIMAN Sylvain
Browse files

rate_independence examples

parent 2ae0d11a
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Biocham 4.4.11\n",
"Copyright (C) 2003-2020 Inria, EPI Lifeware, Saclay-Île de France, France,\n",
"license GNU GPL 2, http://lifeware.inria.fr/biocham4/\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Example 1"
]
},
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [],
"source": [
"a + b => c."
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"The output c is rate independent.\r\n",
"Time: 0.025 s\r\n"
]
},
"execution_count": 2,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"% testing outputs for permanence\n",
"test_rate_independence_invariants."
]
},
{
"cell_type": "code",
"execution_count": 3,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"The model is rate independent.\r\n",
"Time: 0.01 s\r\n"
]
},
"execution_count": 3,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"% testing the whole model for funnel conditions\n",
"test_rate_independence."
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Example 2"
]
},
{
"cell_type": "code",
"execution_count": 4,
"metadata": {},
"outputs": [],
"source": [
"clear_model.\n",
"a => x+c.\n",
"b => y+c.\n",
"x+y => z.\n",
"c+z => r."
]
},
{
"cell_type": "code",
"execution_count": 5,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"The output r is rate independent.\r\n",
"Time: 0.135 s\r\n"
]
},
"execution_count": 5,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"test_rate_independence_invariants."
]
},
{
"cell_type": "code",
"execution_count": 6,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"The model is rate independent.\r\n",
"Time: 0.029 s\r\n"
]
},
"execution_count": 6,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"test_rate_independence."
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Biocham",
"language": "",
"name": "biocham"
},
"language_info": {
"codemirror_mode": "biocham",
"file_extension": ".bc",
"mimetype": "text/plain",
"name": "biocham",
"pygments_lexer": "prolog"
}
},
"nbformat": 4,
"nbformat_minor": 2
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment