-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathSYSInitial.m
More file actions
71 lines (52 loc) · 2.23 KB
/
Copy pathSYSInitial.m
File metadata and controls
71 lines (52 loc) · 2.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Copyright Xin-Guang Zhu, Yu Wang, Donald R. ORT and Stephen P. LONG
%CAS-MPG Partner Institute for Computational Biology, Shanghai Institutes for Biological Sciences, CAS, Shanghai,200031
%China Institute of Genomic Biology and Department of Plant Biology, Shanghai Institutes for Biological Sciences, CAS, Shanghai,200031
%University of Illinois at Urbana Champaign
%Global Change and Photosynthesis Research Unit, USDA/ARS, 1406 Institute of Genomic Biology, Urbana, IL 61801, USA.
% This file is part of e-photosynthesis.
% e-photosynthesis is free software; you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation;
% e-photosynthesis is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
% You should have received a copy of the GNU General Public License (GPL)
% along with this program. If not, see <http://www.gnu.org/licenses/>.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% SYSInitial.m
% This routine initialze the parameters used for all the routines.
function fin = SYSInitial(Begin)
% The total runing time is set as tglobal
global tglobal;
global Primer;
Primer = 300;
tglobal = 1000;
global options1
options1 = odeset('RelTol',1e-4);
global PS12ratio;
global input_PSIIcore;
global input_PSI;
global PSIIantennaSize;
global PSIantennaSize;
global input_LHCII;
global input_LHCI;
input_PSIIcore=1;
input_PSI=1;
PS12ratio = input_PSI/input_PSIIcore;
PSIIantennaSize = 37;
PSIantennaSize = 95;
input_LHCII=13;
input_LHCI=6;
global ChlT2;
global ChlT;
global ChlPSI;
ChlT2 = input_PSIIcore * (PSIIantennaSize + 13 * input_LHCII); % U and A, PSII and LHCII
ChlT = PSIIantennaSize * input_PSIIcore; % U , PSII
ChlPSI = input_PSI * (PSIantennaSize + 13 * input_LHCI); % U and A of PSI, total Chl in PSI
global AVR;
AVR = 30;
global GP;
GP = 0;
fin = 1;