<jupyter_start><jupyter_text>![](images/coop_inib.png)<jupyter_code>model = read_model("""
title Linear pathway with feedback inhibition

v2:   -> B, (V * A / (K + A)) * (Ki1 / (Ki2 + D**h)), K = 1, V = 2
v3: B -> C, V * B / (K + B), K = 1, V = 3
v4: C -> D, V * C / (K + C), K = 1, V = 2
v5: D ->  , V * D / (K + D), K = 1, V = 2

-> A = 1 + 0.5 * step(t, 40)

h = 1
Ki1 = 2
Ki2 = 1

init: B = 0.5, C = 1, D = 1

!! A B C D 
""")
@interact(h=(0, 12, 0.5))
def change_coop(h=0):
    model.parameters.h = h
    model.solve(tf=150).plot(fig_size=(12,8), yrange=(0,2), style=styles)
    plt.show()<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.23557692307692307, 'fraction_numerical': 0.0673076923076923, 'mean_word_length': 2.698224852071006, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 10, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '49741', 'license': 'MIT', 'n_tokens_mistral': 338, 'n_tokens_neox': 302, 'n_words': 86, 'path': 'neg feedback.ipynb', 'repo_name': 'aeferreira/simulationODE_examples', 'size': '624'}