@@ -80,360 +80,301 @@ class Default:
80
80
81
81
82
82
ALL_OUT_PARAMS = {
83
- "age" : {"ex_output" : True , " meaning" : "age" , "suffix" : None , "unit" : "years" },
83
+ "age" : {"meaning" : "age" , "suffix" : None , "unit" : "years" },
84
84
"bf_ava_foot" : {
85
- "ex_output" : True ,
86
85
"meaning" : "AVA blood flow rate of one foot" ,
87
86
"suffix" : None ,
88
87
"unit" : "L/h" ,
89
88
},
90
89
"bf_ava_hand" : {
91
- "ex_output" : True ,
92
90
"meaning" : "AVA blood flow rate of one hand" ,
93
91
"suffix" : None ,
94
92
"unit" : "L/h" ,
95
93
},
96
94
"bf_core" : {
97
- "ex_output" : True ,
98
95
"meaning" : "core blood flow rate (each body part)" ,
99
96
"suffix" : "Body name" ,
100
97
"unit" : "L/h" ,
101
98
},
102
99
"bf_fat" : {
103
- "ex_output" : True ,
104
100
"meaning" : "fat blood flow rate (each body part)" ,
105
101
"suffix" : "Body name" ,
106
102
"unit" : "L/h" ,
107
103
},
108
104
"bf_muscle" : {
109
- "ex_output" : True ,
110
105
"meaning" : "muscle blood flow rate (each body part)" ,
111
106
"suffix" : "Body name" ,
112
107
"unit" : "L/h" ,
113
108
},
114
109
"bf_skin" : {
115
- "ex_output" : True ,
116
110
"meaning" : "skin blood flow rate (each body part)" ,
117
111
"suffix" : "Body name" ,
118
112
"unit" : "L/h" ,
119
113
},
120
114
"bsa" : {
121
- "ex_output" : True ,
122
115
"meaning" : "body surface area (each body part)" ,
123
116
"suffix" : "Body name" ,
124
117
"unit" : "m2" ,
125
118
},
126
119
"cardiac_output" : {
127
- "ex_output" : False ,
128
120
"meaning" : "cardiac output (the sum of the whole blood flow)" ,
129
121
"suffix" : None ,
130
122
"unit" : "L/h" ,
131
123
},
132
124
"e_max" : {
133
- "ex_output" : True ,
134
125
"meaning" : "maximum evaporative heat loss from the skin (each body part)" ,
135
126
"suffix" : "Body name" ,
136
127
"unit" : "W" ,
137
128
},
138
129
"e_skin" : {
139
- "ex_output" : True ,
140
130
"meaning" : "evaporative heat loss from the skin (each body part)" ,
141
131
"suffix" : "Body name" ,
142
132
"unit" : "W" ,
143
133
},
144
134
"e_sweat" : {
145
- "ex_output" : True ,
146
135
"meaning" : (
147
136
"evaporative heat loss from the skin by only sweating (each body part)"
148
137
),
149
138
"suffix" : "Body name" ,
150
139
"unit" : "W" ,
151
140
},
152
- "fat" : {"ex_output" : True , " meaning" : "body fat rate" , "suffix" : None , "unit" : "%" },
141
+ "fat" : {"meaning" : "body fat rate" , "suffix" : None , "unit" : "%" },
153
142
"height" : {
154
- "ex_output" : True ,
155
143
"meaning" : "body height" ,
156
144
"suffix" : None ,
157
145
"unit" : "m" ,
158
146
},
159
147
"clo" : {
160
- "ex_output" : True ,
161
148
"meaning" : "clothing insulation (each body part)" ,
162
149
"suffix" : "Body name" ,
163
150
"unit" : "clo" ,
164
151
},
165
152
"q_skin2env_latent" : {
166
- "ex_output" : True ,
167
153
"meaning" : "latent heat loss from the skin (each body part)" ,
168
154
"suffix" : "Body name" ,
169
155
"unit" : "W" ,
170
156
},
171
157
"q_bmr_core" : {
172
- "ex_output" : True ,
173
158
"meaning" : "core thermogenesis by basal metabolism (each body part)" ,
174
159
"suffix" : "Body name" ,
175
160
"unit" : "W" ,
176
161
},
177
162
"q_bmr_fat" : {
178
- "ex_output" : True ,
179
163
"meaning" : "fat thermogenesis by basal metabolism (each body part)" ,
180
164
"suffix" : "Body name" ,
181
165
"unit" : "W" ,
182
166
},
183
167
"q_bmr_muscle" : {
184
- "ex_output" : True ,
185
168
"meaning" : "muscle thermogenesis by basal metabolism (each body part)" ,
186
169
"suffix" : "Body name" ,
187
170
"unit" : "W" ,
188
171
},
189
172
"q_bmr_skin" : {
190
- "ex_output" : True ,
191
173
"meaning" : "skin thermogenesis by basal metabolism (each body part)" ,
192
174
"suffix" : "Body name" ,
193
175
"unit" : "W" ,
194
176
},
195
177
"q_thermogenesis_total" : {
196
- "ex_output" : False ,
197
178
"meaning" : "total thermogenesis of the whole body" ,
198
179
"suffix" : None ,
199
180
"unit" : "W" ,
200
181
},
201
182
"q_nst" : {
202
- "ex_output" : True ,
203
183
"meaning" : "core thermogenesis by non-shivering (each body part)" ,
204
184
"suffix" : "Body name" ,
205
185
"unit" : "W" ,
206
186
},
207
187
"simulation_time" : {
208
- "ex_output" : False ,
209
188
"meaning" : "simulation times" ,
210
189
"suffix" : None ,
211
190
"unit" : "sec" ,
212
191
},
213
192
"q_shiv" : {
214
- "ex_output" : True ,
215
193
"meaning" : "core or muscle thermogenesis by shivering (each body part)" ,
216
194
"suffix" : "Body name" ,
217
195
"unit" : "W" ,
218
196
},
219
197
"q_work" : {
220
- "ex_output" : True ,
221
198
"meaning" : "core or muscle thermogenesis by work (each body part)" ,
222
199
"suffix" : "Body name" ,
223
200
"unit" : "W" ,
224
201
},
225
202
"name" : {
226
- "ex_output" : True ,
227
203
"meaning" : "name of the model" ,
228
204
"suffix" : None ,
229
205
"unit" : "-" ,
230
206
},
231
207
"par" : {
232
- "ex_output" : True ,
233
208
"meaning" : "physical activity ratio" ,
234
209
"suffix" : None ,
235
210
"unit" : "-" ,
236
211
},
237
212
"q_thermogenesis_core" : {
238
- "ex_output" : True ,
239
213
"meaning" : "core total thermogenesis (each body part)" ,
240
214
"suffix" : "Body name" ,
241
215
"unit" : "W" ,
242
216
},
243
217
"q_thermogenesis_fat" : {
244
- "ex_output" : True ,
245
218
"meaning" : "fat total thermogenesis (each body part)" ,
246
219
"suffix" : "Body name" ,
247
220
"unit" : "W" ,
248
221
},
249
222
"q_thermogenesis_muscle" : {
250
- "ex_output" : True ,
251
223
"meaning" : "muscle total thermogenesis (each body part)" ,
252
224
"suffix" : "Body name" ,
253
225
"unit" : "W" ,
254
226
},
255
227
"q_thermogenesis_skin" : {
256
- "ex_output" : True ,
257
228
"meaning" : "skin total thermogenesis (each body part)" ,
258
229
"suffix" : "Body name" ,
259
230
"unit" : "W" ,
260
231
},
261
232
"q_res" : {
262
- "ex_output" : False ,
263
233
"meaning" : "heat loss by respiration" ,
264
234
"suffix" : None ,
265
235
"unit" : "W" ,
266
236
},
267
237
"q_res_latent" : {
268
- "ex_output" : True ,
269
238
"meaning" : "latent heat loss by respiration (each body part)" ,
270
239
"suffix" : "Body name" ,
271
240
"unit" : "W" ,
272
241
},
273
242
"q_res_sensible" : {
274
- "ex_output" : True ,
275
243
"meaning" : "sensible heat loss by respiration (each body part)" ,
276
244
"suffix" : "Body name" ,
277
245
"unit" : "W" ,
278
246
},
279
247
"rh" : {
280
- "ex_output" : True ,
281
248
"meaning" : "relative humidity (each body part)" ,
282
249
"suffix" : "Body name" ,
283
250
"unit" : "%" ,
284
251
},
285
252
"r_et" : {
286
- "ex_output" : True ,
287
253
"meaning" : "total clothing evaporative heat resistance (each body part)" ,
288
254
"suffix" : "Body name" ,
289
255
"unit" : "(m2*kPa)/W" ,
290
256
},
291
257
"r_t" : {
292
- "ex_output" : True ,
293
258
"meaning" : "total clothing heat resistance (each body part)" ,
294
259
"suffix" : "Body name" ,
295
260
"unit" : "(m2*K)/W" ,
296
261
},
297
262
"q_skin2env_sensible" : {
298
- "ex_output" : True ,
299
263
"meaning" : "sensible heat loss from the skin (each body part)" ,
300
264
"suffix" : "Body name" ,
301
265
"unit" : "W" ,
302
266
},
303
267
"t_skin_set" : {
304
- "ex_output" : True ,
305
268
"meaning" : "skin set point temperature (each body part)" ,
306
269
"suffix" : "Body name" ,
307
270
"unit" : "°C" ,
308
271
},
309
272
"t_core_set" : {
310
- "ex_output" : True ,
311
273
"meaning" : "core set point temperature (each body part)" ,
312
274
"suffix" : "Body name" ,
313
275
"unit" : "°C" ,
314
276
},
315
277
"sex" : {
316
- "ex_output" : True ,
317
278
"meaning" : "sex" ,
318
279
"suffix" : None ,
319
280
"unit" : "-" ,
320
281
},
321
282
"q_skin2env" : {
322
- "ex_output" : False ,
323
283
"meaning" : "total heat loss from the skin (each body part)" ,
324
284
"suffix" : "Body name" ,
325
285
"unit" : "W" ,
326
286
},
327
287
"tdb" : {
328
- "ex_output" : True ,
329
288
"meaning" : "dry bulb air temperature (each body part)" ,
330
289
"suffix" : "Body name" ,
331
290
"unit" : "°C" ,
332
291
},
333
292
"t_artery" : {
334
- "ex_output" : True ,
335
293
"meaning" : "arterial temperature (each body part)" ,
336
294
"suffix" : "Body name" ,
337
295
"unit" : "°C" ,
338
296
},
339
297
"t_cb" : {
340
- "ex_output" : True ,
341
298
"meaning" : "central blood temperature" ,
342
299
"suffix" : None ,
343
300
"unit" : "°C" ,
344
301
},
345
302
"t_core" : {
346
- "ex_output" : False ,
347
303
"meaning" : "core temperature (each body part)" ,
348
304
"suffix" : "Body name" ,
349
305
"unit" : "°C" ,
350
306
},
351
307
"t_fat" : {
352
- "ex_output" : True ,
353
308
"meaning" : "fat temperature (each body part)" ,
354
309
"suffix" : "Body name" ,
355
310
"unit" : "°C" ,
356
311
},
357
312
"t_muscle" : {
358
- "ex_output" : True ,
359
313
"meaning" : "muscle temperature (each body part)" ,
360
314
"suffix" : "Body name" ,
361
315
"unit" : "°C" ,
362
316
},
363
317
"to" : {
364
- "ex_output" : True ,
365
318
"meaning" : "operative temperature (each body part)" ,
366
319
"suffix" : "Body name" ,
367
320
"unit" : "°C" ,
368
321
},
369
322
"tr" : {
370
- "ex_output" : True ,
371
323
"meaning" : "mean radiant temperature (each body part)" ,
372
324
"suffix" : "Body name" ,
373
325
"unit" : "°C" ,
374
326
},
375
327
"t_skin" : {
376
- "ex_output" : False ,
377
328
"meaning" : "skin temperature (each body part)" ,
378
329
"suffix" : "Body name" ,
379
330
"unit" : "°C" ,
380
331
},
381
332
"t_skin_mean" : {
382
- "ex_output" : False ,
383
333
"meaning" : "mean skin temperature" ,
384
334
"suffix" : None ,
385
335
"unit" : "°C" ,
386
336
},
387
337
"t_superficial_vein" : {
388
- "ex_output" : True ,
389
338
"meaning" : "superficial vein temperature (each body part)" ,
390
339
"suffix" : "Body name" ,
391
340
"unit" : "°C" ,
392
341
},
393
342
"t_vein" : {
394
- "ex_output" : True ,
395
343
"meaning" : "vein temperature (each body part)" ,
396
344
"suffix" : "Body name" ,
397
345
"unit" : "°C" ,
398
346
},
399
347
"v" : {
400
- "ex_output" : True ,
401
348
"meaning" : "air velocity (each body part)" ,
402
349
"suffix" : "Body name" ,
403
350
"unit" : "m/s" ,
404
351
},
405
352
"weight" : {
406
- "ex_output" : True ,
407
353
"meaning" : "body weight" ,
408
354
"suffix" : None ,
409
355
"unit" : "kg" ,
410
356
},
411
357
"w" : {
412
- "ex_output" : False ,
413
358
"meaning" : "skin wettedness (each body part)" ,
414
359
"suffix" : "Body name" ,
415
360
"unit" : "-" ,
416
361
},
417
362
"w_mean" : {
418
- "ex_output" : False ,
419
363
"meaning" : "mean skin wettedness" ,
420
364
"suffix" : None ,
421
365
"unit" : "-" ,
422
366
},
423
367
"weight_loss_by_evap_and_res" : {
424
- "ex_output" : False ,
425
368
"meaning" : "weight loss by the evaporation and respiration of the whole body" ,
426
369
"suffix" : None ,
427
370
"unit" : "g/sec" ,
428
371
},
429
372
"dt" : {
430
- "ex_output" : False ,
431
373
"meaning" : "time step" ,
432
374
"suffix" : None ,
433
375
"unit" : "sec" ,
434
376
},
435
377
"pythermalcomfort_version" : {
436
- "ex_output" : False ,
437
378
"meaning" : "version of pythermalcomfort" ,
438
379
"suffix" : None ,
439
380
"unit" : "-" ,
@@ -470,10 +411,7 @@ def show_out_param_docs():
470
411
471
412
line = "{}: {} [{}]" .format (key .ljust (8 ), value ["meaning" ], value ["unit" ])
472
413
473
- if value ["ex_output" ]:
474
- exoutparams += line + "\n "
475
- else :
476
- outparams += line + "\n "
414
+ outparams += line + "\n "
477
415
478
416
docs = outparams + "\n " + exoutparams
479
417
docs = textwrap .indent (docs .strip (), " " )
0 commit comments