Skip to content

Commit

Permalink
negative feedback loop .psc model
Browse files Browse the repository at this point in the history
  • Loading branch information
iretes committed Aug 23, 2024
1 parent 057c0b8 commit 68b65e0
Show file tree
Hide file tree
Showing 4 changed files with 599 additions and 42 deletions.
84 changes: 84 additions & 0 deletions long_range_models/negative_feedback_loop.psc
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
# Negative feedback loop

# G1 --> 10, G1 + P1
# G2 --> 10000, G2 + P2
# G3 --> 10, G3 + P3
# P1 + G2, 2 <--> 10, P1G2
# P2 + G3, 20 <--> 0.1, P2G3
# P3 + G1, 20 <--> 10, P3G1
# P1 --> 1,
# P2 --> 100,
# P3 --> 1,

R1:
G1 > G1 + P1
G1*RP1

R2:
G2 > G2 + P2
G2*RP2

R3:
G3 > G3 + P3
G3*RP3

R4:
P1 + G2 > P1G2
P1*G2*RB1

R5:
P1G2 > P1 + G2
P1G2*RU1

R6:
P2 + G3 > P2G3
P2*G3*RB2

R7:
P2G3 > P2 + G3
P2G3*RU2

R8:
P3 + G1 > P3G1
P3*G1*RB3

R9:
P3G1 > P3 + G1
P3G1*RU3

R10:
P1 > $pool
P1*RD1

R11:
P2 > $pool
P2*RD2

R12:
P3 > $pool
P3*RD3

# Parameters
RP1 = 10
RP2 = 10000
RP3 = 10
RB1 = 10
RU1 = 2
RB2 = 0.1
RU2 = 20
RB3 = 10
RU3 = 20
RD1 = 1
RD2 = 100
RD3 = 1

# Init Values
P1 = 0
P2 = 0
P3 = 0
G1 = 1
G2 = 1
G3 = 1
P1G2 = 0
P2G3 = 0
P3G1 = 0
42 changes: 21 additions & 21 deletions notebooks/long_range_simulations.html

Large diffs are not rendered by default.

43 changes: 22 additions & 21 deletions notebooks/long_range_simulations.ipynb

Large diffs are not rendered by default.

472 changes: 472 additions & 0 deletions notebooks/negative_feedback_loop.ipynb

Large diffs are not rendered by default.

0 comments on commit 68b65e0

Please sign in to comment.