Commit last-minute
This commit is contained in:
parent
b4a97a65ab
commit
0ba7189bfc
221 changed files with 139931 additions and 1 deletions
163
hydroshoot/example/modularity/ww/sim_2/digit.input
Normal file
163
hydroshoot/example/modularity/ww/sim_2/digit.input
Normal file
|
@ -0,0 +1,163 @@
|
|||
Plant_Nb;Tronc;Elmnt;Sar;Rameau;Row;X;Y;Z
|
||||
8;BASE;0;0;0;0;0;0;0
|
||||
8;0;1;0;0;0;0;0;5
|
||||
8;0;2;0;0;0;0;0;10
|
||||
8;0;3;0;0;0;0;0;15
|
||||
8;0;4;0;0;0;0;0;20
|
||||
8;0;5;0;0;0;0;0;25
|
||||
8;0;6;0;0;0;0;0;30
|
||||
8;0;7;0;0;0;0;0;35
|
||||
8;0;8;0;0;0;0;0;40
|
||||
8;0;9;0;0;0;0;0;45
|
||||
8;1;1;0;0;0;4;2;49
|
||||
8;1;1.a;0;0;0;6;5;50
|
||||
8;1;1.a;1;0;0;8;6;52
|
||||
8;1;1.a;1;1;0;8.41;6.2;53.19
|
||||
8;1;1.a;1;1;1;7.42;7.6;55.05
|
||||
8;1;1.a;1;1;2;4.81;8.73;61.1
|
||||
8;1;1.a;1;1;3;1.11;8.87;70.62
|
||||
8;1;1.a;1;1;4;-3.4;9.31;82.33
|
||||
8;1;1.a;1;1;5;-9.59;5.34;94.08
|
||||
8;1;1.a;1;1;6;-19.56;7.1;107.54
|
||||
8;1;1.a;1;1;7;-31.79;7.71;120.16
|
||||
8;1;1.a;1;1;8;-41.64;9.88;130.68
|
||||
8;1;1.a;1;2;0;10.07;7.2;53.27
|
||||
8;1;1.a;1;2;1;10.72;8.11;54.82
|
||||
8;1;1.a;1;2;2;12.45;10.24;58.19
|
||||
8;1;1.a;1;2;3;14.67;9.83;63.16
|
||||
8;1;1.a;1;2;4;18.68;10.23;71.06
|
||||
8;1;1.a;1;2;5;20.41;7.6;81.12
|
||||
8;1;1.a;1;2;6;24.62;6.08;89.86
|
||||
8;1;1.a;1;2;7;26.36;6.67;99.55
|
||||
8;1;1.a;1;2;8;27.95;12.68;111.04
|
||||
8;1;1.a;1;2;9;26.26;18.97;117.65
|
||||
8;1;1.a;1;2;10;25.95;26.82;122.83
|
||||
8;1;1.a;2;0;0;10;4;54
|
||||
8;1;1.a;2;1;0;10.64;4.32;54.52
|
||||
8;1;1.a;2;1;1;11.56;1.67;56.73
|
||||
8;1;1.a;2;1;2;11.22;-2.05;62.4
|
||||
8;1;1.a;2;1;3;11.61;-3.84;71.11
|
||||
8;1;1.a;2;1;4;11.71;-1.8;83.07
|
||||
8;1;1.a;2;1;5;14.28;4.49;96.38
|
||||
8;1;1.a;2;1;6;13.57;4.88;108.18
|
||||
8;1;1.a;2;1;7;15.55;0.48;123.92
|
||||
8;2;1;0;0;0;1;2;49
|
||||
8;2;1.a;0;0;0;1.1;3;50
|
||||
8;2;1.a;1;0;0;1.2;3.8;50.5
|
||||
8;2;1.a;1;1;0;1.29;3.9;50.86
|
||||
8;2;1.a;1;1;1;1.64;5.19;51.5
|
||||
8;2;1.a;1;1;2;2.4;8.52;55.62
|
||||
8;2;1.a;1;1;3;5.57;11.78;62.85
|
||||
8;2;1.a;1;1;4;12.32;13.92;73.82
|
||||
8;2;1.a;1;1;5;18.46;12.2;82.8
|
||||
8;2;1.a;1;1;6;22.11;10.6;89.62
|
||||
8;2;1.a;1;1;7;26.93;3.4;95.42
|
||||
8;2;1.a;1;1;8;31.28;-2.13;99.8
|
||||
8;2;1.a;1;1;9;35.61;-8.04;102.67
|
||||
8;2;1.a;1;1;10;40.84;-15.38;106.71
|
||||
8;2;1.a;1;2;0;1.42;1.92;52.03
|
||||
8;2;1.a;1;2;1;0.93;0.86;53.42
|
||||
8;2;1.a;1;2;2;1.14;-0.09;58.02
|
||||
8;2;1.a;1;2;3;2.4;-1.23;64.43
|
||||
8;2;1.a;1;2;4;4.91;-0.77;72.53
|
||||
8;2;1.a;1;2;5;10.36;0.85;82.74
|
||||
8;2;1.a;1;2;6;13.55;2.52;91.17
|
||||
8;2;1.a;1;2;7;18.58;2.97;100.06
|
||||
8;2;1.a;1;2;8;23.01;2.3;112.8
|
||||
8;2;1.a;1;2;9;26.89;1.14;120.6
|
||||
8;2;1.b;0;0;0;1.43;0;51
|
||||
8;2;1.b;1;0;0;1.44;0.05;51.1
|
||||
8;2;1.b;1;1;0;1.45;0.09;51.12
|
||||
8;2;1.b;1;1;1;1.2;-0.05;51.71
|
||||
8;2;1.b;1;1;2;-0.96;-1.12;56.13
|
||||
8;2;1.b;1;1;3;-4.99;-4.12;65.35
|
||||
8;2;1.b;1;1;4;-7.27;-3.64;79.68
|
||||
8;2;1.b;1;1;5;-6.02;0.34;90.43
|
||||
8;2;1.b;1;1;6;1.81;4.48;97.34
|
||||
8;2;1.b;1;1;7;12.38;3.8;103.99
|
||||
8;2;1.b;1;1;8;20.76;0.75;107.55
|
||||
8;2;1.b;1;1;9;25.75;-4.11;110.52
|
||||
8;2;2;0;0;0;-10;3.5;55
|
||||
8;2;2.a;0;0;0;-11;3.8;55
|
||||
8;2;2.a;1;0;0;-12;4;56
|
||||
8;2;2.a;1;1;0;-12.71;4.01;56.81
|
||||
8;2;2.a;1;1;1;-12.44;3.94;57.24
|
||||
8;2;2.a;1;1;2;-11.81;3.88;59.65
|
||||
8;2;2.a;1;1;3;-11.14;3.39;63.92
|
||||
8;2;2.a;1;1;4;-10.28;3.23;70.07
|
||||
8;2;2.a;1;1;5;-9.07;2.25;78.1
|
||||
8;2;2.a;1;1;6;-5.95;3.49;89
|
||||
8;2;2.a;1;1;7;-1.99;3.14;96.79
|
||||
8;2;2.a;1;1;8;2.52;4.39;104.47
|
||||
8;2;2.a;1;1;9;7.52;4.97;112.43
|
||||
8;2;2.a;1;1;10;11.92;7.53;119.88
|
||||
8;2;2.a;1;1;11;17.75;7.5;129.67
|
||||
8;2;2.a;1;2;0;-12.72;6.24;55.56
|
||||
8;2;2.a;1;2;1;-12.47;6.84;55.83
|
||||
8;2;2.a;1;2;2;-11.67;9.06;57.38
|
||||
8;2;2.a;1;2;3;-11.02;11.72;61.48
|
||||
8;2;2.a;1;2;4;-9.75;12.17;67.31
|
||||
8;2;2.a;1;2;5;-9.43;10.83;75.81
|
||||
8;2;2.a;1;2;6;-6.44;6.43;87.13
|
||||
8;2;2.a;1;2;7;-6.27;6.43;87.24
|
||||
8;2;2.a;1;2;8;-0.52;5.56;95.39
|
||||
8;2;2.a;1;2;9;5.08;5.72;103.16
|
||||
8;2;2.a;1;2;10;14.45;10.9;109.95
|
||||
8;2;2.a;1;2;11;20.55;14.27;115.06
|
||||
8;2;2.a;1;2;12;27.62;19.03;119.15
|
||||
8;2;2.a;1;2;13;33.66;20.31;128.17
|
||||
8;2;2.b;0;0;0;-11;4.2;53
|
||||
8;2;2.b;1;0;0;-12;4.3;54
|
||||
8;2;2.b;1;1;0;-13.87;4.34;55.75
|
||||
8;2;2.b;1;1;1;-14.77;4.56;56.35
|
||||
8;2;2.b;1;1;2;-17.41;5.09;59.75
|
||||
8;2;2.b;1;1;3;-20.84;4.78;66.59
|
||||
8;2;2.b;1;1;4;-22.8;5.33;76.34
|
||||
8;2;2.b;1;1;5;-24.51;2.17;88.02
|
||||
8;2;2.b;1;1;6;-24.97;3.48;103.43
|
||||
8;2;2.b;1;1;7;-26.4;5.54;115.4
|
||||
8;2;2.b;1;1;8;-26.26;10.75;125.42
|
||||
8;2;2.b;1;1;9;-26.48;15.88;135.85
|
||||
8;2;2.b;1;2;0;-13.28;4.55;56.22
|
||||
8;2;2.b;1;2;1;-13.49;5.42;57.1
|
||||
8;2;2.b;1;2;2;-15.07;6.53;60.95
|
||||
8;2;2.b;1;2;3;-16.58;6.09;67.12
|
||||
8;2;2.b;1;2;4;-19.99;5.51;76.32
|
||||
8;2;2.b;1;2;5;-21.61;4.35;87.53
|
||||
8;2;2.b;1;2;6;-22.63;5.47;96.02
|
||||
8;2;2.b;1;2;7;-20.21;6.61;104.14
|
||||
8;2;3;0;0;0;-13;1;52
|
||||
8;2;3.a;0;0;0;-14;1.4;53
|
||||
8;2;3.a;1;0;0;-14.2;1.42;53.01
|
||||
8;2;3.a;1;1M;0;-14.5;1.46;53.06
|
||||
8;2;3.a;1;1M;1;-15.06;1.67;52.89
|
||||
8;2;3.a;1;1M;2;-17.62;2.85;54.07
|
||||
8;2;3.a;1;1M;3;-21.45;4.78;61.73
|
||||
8;2;3.a;1;1M;4;-23.42;5.37;72.15
|
||||
8;2;3.a;1;1M;5;-24.31;3.66;88.31
|
||||
8;2;3.a;1;1M;6;-26.05;4.82;106.56
|
||||
8;2;3.a;1;1M;7;-32.94;5.75;118.25
|
||||
8;2;3.a;1;1M;8;-39.95;8.39;126.33
|
||||
8;2;3.a;1;2M;0;-11.66;-2.19;51.82
|
||||
8;2;3.a;1;2M;1;-12.67;-2.36;51.32
|
||||
8;2;3.a;1;2M;2;-17.15;-4.37;54.34
|
||||
8;2;3.a;1;2M;3;-23.34;-5.71;60.41
|
||||
8;2;3.a;1;2M;4;-26.53;-4.29;70.49
|
||||
8;2;3.a;1;2M;5;-28.16;-3.28;80.44
|
||||
8;2;3.a;1;2M;6;-26.14;2.79;92.16
|
||||
8;2;3.a;1;2M;7;-26.05;3.81;105.94
|
||||
8;2;3.a;1;2M;8;-28.22;2.27;117.94
|
||||
8;2;3.a;1;2M;9;-27.55;-0.76;126.93
|
||||
8;2;3.a;1;2M;10;-24.66;-4.67;138.72
|
||||
8;2;3.a;1;3;0;-12.69;-1.02;52.08
|
||||
8;2;3.a;1;3;1;-14.2;-0.78;52.25
|
||||
8;2;3.a;1;3;2;-20.72;-2.23;53.55
|
||||
8;2;3.a;1;3;3;-27.49;-2.94;56.65
|
||||
8;2;3.a;1;3;4;-36.07;-4.89;61.05
|
||||
8;2;3.a;1;3;5;-41.12;-5.23;69.88
|
||||
8;2;3.a;1;3;6;-42.22;-8.11;82.63
|
||||
8;2;3.a;1;3;7;-37.93;-7.57;96.29
|
||||
8;2;3.a;1;3;8;-33;-7.67;108.67
|
||||
8;2;3.a;1;3;9;-24.07;-4.13;119.04
|
||||
8;2;3.a;1;3;10;-20.9;-2.33;128.29
|
||||
8;2;3.a;1;3;11;-18.5;0.01;136.76
|
5139
hydroshoot/example/modularity/ww/sim_2/meteo.input
Normal file
5139
hydroshoot/example/modularity/ww/sim_2/meteo.input
Normal file
File diff suppressed because it is too large
Load diff
175
hydroshoot/example/modularity/ww/sim_2/params.json
Normal file
175
hydroshoot/example/modularity/ww/sim_2/params.json
Normal file
|
@ -0,0 +1,175 @@
|
|||
{
|
||||
"simulation": {
|
||||
"sdate": "2009-07-29 00:00:00",
|
||||
"edate": "2009-08-01 23:00:00",
|
||||
"latitude": 43.61,
|
||||
"longitude": 3.87,
|
||||
"elevation": 44.0,
|
||||
"tzone": "Europe/Paris",
|
||||
"output_index": "",
|
||||
"unit_scene_length": "cm",
|
||||
"hydraulic_structure": true,
|
||||
"negligible_shoot_resistance": true,
|
||||
"energy_budget": true
|
||||
},
|
||||
"planting": {
|
||||
"spacing_between_rows": 3.6,
|
||||
"spacing_on_row": 1,
|
||||
"row_angle_with_south": 140.0
|
||||
},
|
||||
"phenology": {
|
||||
"emdate": "2009-04-01 00:00:00",
|
||||
"t_base": 10.0
|
||||
},
|
||||
"mtg_api": {
|
||||
"collar_label": "inT",
|
||||
"leaf_lbl_prefix": "L",
|
||||
"stem_lbl_prefix": [
|
||||
"in",
|
||||
"Pet",
|
||||
"cx"
|
||||
]
|
||||
},
|
||||
"numerical_resolution": {
|
||||
"max_iter": 100,
|
||||
"psi_step": 1.0,
|
||||
"psi_error_threshold": 0.05,
|
||||
"t_step": 1.0,
|
||||
"t_error_threshold": 0.02
|
||||
},
|
||||
"irradiance": {
|
||||
"E_type": "Rg_Watt/m2",
|
||||
"E_type2": "Eabs",
|
||||
"opt_prop": {
|
||||
"SW": {
|
||||
"leaf": [
|
||||
0.06,
|
||||
0.07
|
||||
],
|
||||
"stem": [
|
||||
0.13
|
||||
],
|
||||
"other": [
|
||||
0.06,
|
||||
0.07
|
||||
]
|
||||
},
|
||||
"LW": {
|
||||
"leaf": [
|
||||
0.04,
|
||||
0.07
|
||||
],
|
||||
"stem": [
|
||||
0.13
|
||||
],
|
||||
"other": [
|
||||
0.06,
|
||||
0.07
|
||||
]
|
||||
}
|
||||
},
|
||||
"turtle_format": "soc",
|
||||
"turtle_sectors": "46",
|
||||
"icosphere_level": null
|
||||
},
|
||||
"energy": {
|
||||
"solo": true,
|
||||
"t_cloud": 2.0,
|
||||
"t_sky": -20.0
|
||||
},
|
||||
"hydraulic": {
|
||||
"psi_min": -3.0,
|
||||
"Kx_dict": {
|
||||
"a": 1.6,
|
||||
"b": 2.0,
|
||||
"min_kmax": 0.000111
|
||||
},
|
||||
"par_K_vul": {
|
||||
"model": "misson",
|
||||
"fifty_cent": -0.76,
|
||||
"sig_slope": 1.0
|
||||
}
|
||||
},
|
||||
"exchange": {
|
||||
"rbt": 0.6667,
|
||||
"Na_dict": {
|
||||
"aN": -0.0008,
|
||||
"bN": 3.3,
|
||||
"aM": 6.471,
|
||||
"bM": 56.635
|
||||
},
|
||||
"par_gs": {
|
||||
"model": "misson",
|
||||
"g0": 0.02,
|
||||
"m0": 7.3,
|
||||
"psi0": -0.65,
|
||||
"D0": 1.0,
|
||||
"n": 4.0
|
||||
},
|
||||
"par_photo": {
|
||||
"alpha": 0.24,
|
||||
"Kc25": 404.9,
|
||||
"Ko25": 278.4,
|
||||
"Tx25": 42.75,
|
||||
"ds": 0.635,
|
||||
"dHd": 200.0,
|
||||
"RespT_Kc": {
|
||||
"c": 38.05,
|
||||
"deltaHa": 79.43
|
||||
},
|
||||
"RespT_Ko": {
|
||||
"c": 20.30,
|
||||
"deltaHa": 36.38
|
||||
},
|
||||
"RespT_Vcm": {
|
||||
"c": 26.35,
|
||||
"deltaHa": 65.33
|
||||
},
|
||||
"RespT_Jm": {
|
||||
"c": 17.57,
|
||||
"deltaHa": 43.54
|
||||
},
|
||||
"RespT_TPU": {
|
||||
"c": 21.46,
|
||||
"deltaHa": 53.1
|
||||
},
|
||||
"RespT_Rd": {
|
||||
"c": 18.72,
|
||||
"deltaHa": 46.39
|
||||
},
|
||||
"RespT_Tx": {
|
||||
"c": 19.02,
|
||||
"deltaHa": 37.83
|
||||
}
|
||||
},
|
||||
"par_photo_N": {
|
||||
"Vcm25_N": [
|
||||
34.02,
|
||||
-3.13
|
||||
],
|
||||
"Jm25_N": [
|
||||
78.27,
|
||||
-17.3
|
||||
],
|
||||
"Rd_N": [
|
||||
0.42,
|
||||
-0.01
|
||||
],
|
||||
"TPU25_N": [
|
||||
6.24,
|
||||
-1.92
|
||||
]
|
||||
}
|
||||
},
|
||||
"soil": {
|
||||
"soil_class": "Sandy_Loam",
|
||||
"soil_dimensions": {
|
||||
"width": 3.6,
|
||||
"length": 1.0,
|
||||
"depth": 1.2
|
||||
},
|
||||
"rhyzo_coeff": 0.25
|
||||
}
|
||||
}
|
||||
|
||||
|
14
hydroshoot/example/modularity/ww/sim_2/psi_soil.input
Normal file
14
hydroshoot/example/modularity/ww/sim_2/psi_soil.input
Normal file
|
@ -0,0 +1,14 @@
|
|||
time;psi
|
||||
2009-07-27;-0.18
|
||||
2009-07-28;-0.22
|
||||
2009-07-29;-0.13
|
||||
2009-07-30;-0.15
|
||||
2009-07-31;-0.15
|
||||
2009-08-01;-0.08
|
||||
2009-08-03;-0.16
|
||||
2009-08-05;-0.13
|
||||
2009-08-06;-0.11
|
||||
2009-08-07;-0.09
|
||||
2009-08-09;-0.09
|
||||
2009-08-10;-0.15
|
||||
2009-08-14;-0.27
|
43
hydroshoot/example/modularity/ww/sim_2/sim.py
Normal file
43
hydroshoot/example/modularity/ww/sim_2/sim.py
Normal file
|
@ -0,0 +1,43 @@
|
|||
from pathlib import Path
|
||||
|
||||
from openalea.mtg import traversal
|
||||
from openalea.plantgl.all import Scene
|
||||
|
||||
from hydroshoot import architecture, display, model
|
||||
|
||||
if __name__ == '__main__':
|
||||
path_project = Path(__file__).parent
|
||||
|
||||
# =============================================================================
|
||||
# Construct the plant mock-up
|
||||
# =============================================================================
|
||||
|
||||
g = architecture.vine_mtg(path_project / 'digit.input')
|
||||
|
||||
# Local Coordinates Correction
|
||||
for v in traversal.iter_mtg2(g, g.root):
|
||||
architecture.vine_phyto_modular(g, v)
|
||||
architecture.vine_axeII(g, v, pruning_type='avg_field_model', N_max=6,
|
||||
insert_angle=90, N_max_order=6)
|
||||
architecture.vine_petiole(g, v, pet_ins=90., pet_ins_cv=0.,
|
||||
phyllo_angle=180.)
|
||||
architecture.vine_leaf(g, v, leaf_inc=-45., leaf_inc_cv=100.,
|
||||
lim_max=12.5, lim_min=5., order_lim_max=5.5,
|
||||
max_order=55, rand_rot_angle=90.,
|
||||
cordon_vector=None)
|
||||
architecture.vine_mtg_properties(g, v)
|
||||
architecture.vine_mtg_geometry(g, v)
|
||||
architecture.vine_transform(g, v)
|
||||
|
||||
scene = display.visu(g, def_elmnt_color_dict=True, scene=Scene(),
|
||||
view_result=True)
|
||||
|
||||
# =============================================================================
|
||||
# Run HydroShoot
|
||||
# =============================================================================
|
||||
|
||||
model.run(
|
||||
g=g,
|
||||
wd=path_project,
|
||||
path_weather=path_project / 'meteo.input',
|
||||
scene=scene)
|
Loading…
Add table
Add a link
Reference in a new issue