Commit 7a546f0
committed
refactor: remove BaseTmethod parameter and always use weekday/weekend base temperatures
Removes the BaseTmethod parameter which controlled whether to use a single
BaseT_HC value or separate weekday/weekend base temperatures for heating/
cooling degree day (HDD/CDD) calculations in the anthropogenic heat flux
module.
Changes:
- Remove BaseTMethod parameter from suews_ctrl_const.f95
- Remove BaseTMethod and BaseT_HC from update_DailyState_Day subroutine
- Always use weekday/weekend-specific BaseT_Heating and BaseT_Cooling arrays
- Simplify HDD/CDD calculation logic by removing SELECT CASE branching
This change aligns with the data model which already provides weekday/weekend
base temperature profiles, and follows the removal of BaseT_HC from input
files in SUEWS v2023a.
Note: BaseT and BaseTe remain as separate parameters for vegetation LAI
phenology calculations (growing degree days and senescence degree days).
Addresses #1441 parent 093df77 commit 7a546f0
File tree
2 files changed
+3
-21
lines changed- src/suews/src
2 files changed
+3
-21
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1130 | 1130 | | |
1131 | 1131 | | |
1132 | 1132 | | |
1133 | | - | |
1134 | 1133 | | |
1135 | 1134 | | |
1136 | 1135 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
86 | | - | |
87 | 85 | | |
88 | 86 | | |
89 | 87 | | |
| |||
503 | 501 | | |
504 | 502 | | |
505 | 503 | | |
506 | | - | |
507 | 504 | | |
508 | 505 | | |
509 | 506 | | |
510 | 507 | | |
511 | | - | |
512 | 508 | | |
513 | 509 | | |
514 | 510 | | |
| |||
746 | 742 | | |
747 | 743 | | |
748 | 744 | | |
749 | | - | |
750 | 745 | | |
751 | 746 | | |
752 | 747 | | |
753 | 748 | | |
754 | | - | |
755 | 749 | | |
756 | 750 | | |
757 | 751 | | |
758 | 752 | | |
759 | 753 | | |
760 | 754 | | |
761 | 755 | | |
762 | | - | |
763 | 756 | | |
764 | 757 | | |
765 | 758 | | |
766 | 759 | | |
767 | 760 | | |
768 | | - | |
769 | 761 | | |
770 | 762 | | |
771 | 763 | | |
| |||
793 | 785 | | |
794 | 786 | | |
795 | 787 | | |
796 | | - | |
797 | | - | |
798 | | - | |
799 | | - | |
800 | | - | |
801 | | - | |
802 | | - | |
803 | | - | |
804 | | - | |
805 | | - | |
806 | | - | |
807 | | - | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
808 | 791 | | |
809 | 792 | | |
810 | 793 | | |
| |||
0 commit comments