Commit fb36554a authored by CD's avatar CD

Working on updating so that sleep deprivations eqns work w/ newer phys model....

Working on updating so that sleep deprivations eqns work w/ newer phys model. Cortisol,DES and ACTH.DES appear to be OK now; CRF a WIP - Need to make it work with the new metric for CRF effects. Next step, testing the changes in using HumMod
parent 0ddd8223
# Port settings for ACT-R server started at 13:20:40 11/26/2019
set actr_port 2651
# Port settings for ACT-R server started at 17:17:41 1/05/2020
set actr_port 2650
set actr_address "10.0.75.1"
......@@ -15,22 +15,38 @@ if $size_mismatch {
-message "The screen resolution is not the same as it was the last time the Environment was used. Should the window positions reset to the defaults?"]
} else { set reset_window_sizes 0}
if {$reset_window_sizes != "yes"} {
set window_config(.bufferstatus) 450x240+1223+277
set changed_window_list(.bufferstatus) 1
set window_config(.audicon) 870x150+1285+620
set changed_window_list(.audicon) 1
set window_config(.visicon) 1460x689+841+63
set window_config(.pgraph) 700x400+1370+520
set changed_window_list(.pgraph) 1
set window_config(.visicon) 1460x689+1312+378
set changed_window_list(.visicon) 1
set window_config(.control_panel) 235x700+1770+71
set changed_window_list(.control_panel) 1
set window_config(.text_trace_history) 714x340+1333+550
set changed_window_list(.text_trace_history) 1
set window_config(.options) 450x274+1495+583
set changed_window_list(.options) 1
set window_config(.buffers) 470x240+2707+655
set changed_window_list(.buffers) 1
set window_config(.ptrace) 410x370+1515+570
set changed_window_list(.ptrace) 1
set window_config(.dispatcher) 700x274+1370+583
set changed_window_list(.dispatcher) 1
set window_config(.control_panel) 235x700+2716+644
set changed_window_list(.control_panel) 1
set window_config(.audicon) 870x150+1521+747
set changed_window_list(.audicon) 1
set window_config(.pick_buffers) 200x340+1620+550
set changed_window_list(.pick_buffers) 1
set window_config(.audicon_history) 734x300+1353+570
set changed_window_list(.audicon_history) 1
set window_config(.declarative) 420x300+1510+570
set changed_window_list(.declarative) 1
set window_config(.bold_graphs) 660x250+1390+600
set changed_window_list(.bold_graphs) 1
set window_config(.bufferstatus) 450x240+1223+277
set changed_window_list(.bufferstatus) 1
set window_config(.whynot) 956x300+1620+570
set changed_window_list(.whynot) 1
set window_config(.procedural) 1469x450+1103+147
set window_config(.procedural) 1469x450+1601+240
set changed_window_list(.procedural) 1
set window_config(.buffers) 470x240+1718+702
set changed_window_list(.buffers) 1
}
set gui_options(p_selected) #44DA22
set gui_options(p_matched) #FCA31D
......
......@@ -131,7 +131,8 @@ By : University of Mississippi Medical Center
<def>
<name> [CRF]Effect </name>
<val> [CRF]Effect [ CorticotropinReleasingFactor.[CRF(pG/mL)] ] </val>
<val> CorticotropinReleasingFactor.EffectOnACTH * ( ( 0.7 * ( SIN ( ( 3.14 * System.X / 720 ) - 0.1 ) ) + 0.25 ) + ( 0.22 * ( SIN ( ( 2 * 3.14 * System.X / 720 ) - 0.1 ) ) + 0.25 ) + ( 0.07 * ( SIN ( ( 3 * 3.14 * System.X / 720 ) - 0.1 ) ) + 0.25 ) + ( 0.03 * ( SIN ( ( 4 * 3.14 * System.X / 720 ) - 0.1 ) ) + 0.25 ) )</val>
<!-- [CRF]Effect [ CorticotropinReleasingFactor.[CRF(pG/mL)] ] -->
</def>
<def>
......@@ -152,7 +153,7 @@ By : University of Mississippi Medical Center
<val>
Secretion-Basic
* [CRF]Effect
* [ANP]Effect
* [ANP]Effect
* Brain-Function.Effect
</val> <!-- * [ADH]Effect -->
</def>
......@@ -169,4 +170,4 @@ By : University of Mississippi Medical Center
</definitions>
</structure>
End
\ No newline at end of file
End
......@@ -44,6 +44,14 @@ By : University of Mississippi Medical Center
<point><x> 100 </x><y> 0.5 </y><slope> 0 </slope></point>
</curve>
<curve>
<name>SleepStressEffect</name>
<point><x> 0 </x><y> 1 </y><slope> 0 </slope></point>
<point><x> 960 </x><y> 1 </y><slope> 0 </slope></point>
<point><x> 961 </x><y> 961 </y><slope> 1 </slope></point>
<point><x> 14400 </x><y> 14400 </y><slope> 1 </slope></point>
</curve>
</functions>
<definitions>
......@@ -71,9 +79,9 @@ By : University of Mississippi Medical Center
<true> Level </true>
<false>
[CRF(pG/mL)-Basic]
* NeuralEffect
* StressEffect
* [Cortisol]Effect
* NeuralEffect
* StressEffect
* [Cortisol]Effect
* Brain-Function.Effect
</false>
</conditional>
......@@ -83,4 +91,4 @@ By : University of Mississippi Medical Center
</definitions>
</structure>
End
\ No newline at end of file
End
......@@ -39,6 +39,12 @@ By : University of Mississippi Medical Center
<parm><name> K </name><val> 52.0 </val></parm>
<var><name> Secretion-Sleep-Hom </name><val> 0 </val></var>
<var><name> Sleep-allostatic-mag </name><val> 3.6 </val></var>
<var><name> Sleep-allostatic-rate </name><val> 0.9 </val></var>
<var><name> Wake-allostatic-mag </name><val> 1.6 </val></var>
<var><name> Wake-allostatic-rate </name><val> 0.9 </val></var>
</variables>
<equations>
......@@ -107,9 +113,14 @@ By : University of Mississippi Medical Center
<val> [ACTH]Effect [ ACTH.[Conc(nG/dL)] ] </val>
</def>
<def>
<name> Secretion-Sleep-Hom </name>
<val> ( Status.Activity * ( Wake-allostatic-mag * ( 1 - ( Wake-allostatic-rate ^ ( ( System.X - Status.LastAsleep ) / 60 ) ) ) ) ) + ( 1 - Status.Activity * ( Sleep-allostatic-mag * ( 1 - ( Sleep-allostatic-rate ^ ( ( System.X - Status.LastAwake ) / 60 ) ) ) ) ) </val>
</def>
<def>
<name> Secretion </name>
<val> Secretion-Basic * [ACTH]Effect * ( ( InsulinPump.T2D * 4 ) + 1 ) * SecondaryInsufficiency </val>
<val> Secretion-Basic * [ACTH]Effect * ( ( InsulinPump.T2D * 4 ) + 1 ) * SecondaryInsufficiency + Secretion-Sleep-Hom </val>
</def>
<def><name> Degradation </name><val> K * [Conc(uG/mL)] </val></def>
......@@ -124,4 +135,4 @@ By : University of Mississippi Medical Center
</definitions>
</structure>
End
\ No newline at end of file
End
......@@ -82,4 +82,4 @@ By : University of Mississippi Medical Center
</definitions>
</structure>
End
\ No newline at end of file
End
......@@ -118,7 +118,7 @@ By : University of Mississippi Medical Center
<val> Sleep-allostatic-mag * ( 1 - ( Sleep-allostatic-rate ^ ( ( System.X - Status.LastAwake ) / 60 ) ) ) </val>
</def>
</case>
<case>
<test> Status.Activity EQ 1 </test>
<def>
......@@ -126,9 +126,14 @@ By : University of Mississippi Medical Center
<val> Wake-allostatic-mag * ( 1 - ( Wake-allostatic-rate ^ ( ( System.X - Status.LastAsleep ) / 60 ) ) ) </val>
</def>
</case>
</testcase>
<def>
<name> Secretion-Sleep-Hom </name>
<val> ( Status.Activity * ( Wake-allostatic-mag * ( 1 - ( Wake-allostatic-rate ^ ( ( System.X - Status.LastAsleep ) / 60 ) ) ) ) ) + ( 1 - Status.Activity * ( Sleep-allostatic-mag * ( 1 - ( Sleep-allostatic-rate ^ ( ( System.X - Status.LastAwake ) / 60 ) ) ) ) ) </val>
</def>
<def>
<name> Secretion </name>
<val> ( Secretion-Basic * [ACTH]Effect ) + Secretion-Sleep-Hom </val>
......@@ -147,4 +152,4 @@ By : University of Mississippi Medical Center
</definitions>
</structure>
End
\ No newline at end of file
End
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