github.com/archlabjp/eeslism-go@v0.0.0-20231109122333-4bb7bfcdf292/eeslism/mcmecsys.go (about) 1 //This file is part of EESLISM. 2 // 3 //Foobar is free software : you can redistribute itand /or modify 4 //it under the terms of the GNU General Public License as published by 5 //the Free Software Foundation, either version 3 of the License, or 6 //(at your option) any later version. 7 // 8 //Foobar is distributed in the hope that it will be useful, 9 //but WITHOUT ANY WARRANTY; without even the implied warranty of 10 //MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the 11 //GNU General Public License for more details. 12 // 13 //You should have received a copy of the GNU General Public License 14 //along with Foobar.If not, see < https://www.gnu.org/licenses/>. 15 16 /* mecsys.c */ 17 18 package eeslism 19 20 // システム使用機器の初期設定 21 func (Eqsys *EQSYS) Mecsinit(Simc *SIMCONTL, Compnt []*COMPNT, Exsf []*EXSF, Wd *WDAT, Rmvls *RMVLS) { 22 // ヒートポンプ 23 Refaint(Eqsys.Refa, Wd, Compnt) 24 25 // 太陽熱集熱器 26 Collint(Eqsys.Coll, Exsf, Wd) 27 28 // 配管・ダクト 29 Pipeint(Eqsys.Pipe, Simc, Compnt, Wd) 30 31 // 蓄熱槽 32 Stankint(Eqsys.Stank, Simc, Compnt, Wd) 33 34 // 定流量ポンプ、変流量ポンプおよび太陽電池駆動ポンプ 35 Pumpint(Eqsys.Pump, Exsf) 36 37 // 電気蓄熱暖房器 38 Stheatint(Eqsys.Stheat, Simc, Compnt, Wd, Rmvls.PCM) 39 40 // 境界条件設定用仮想機器 41 Flinint(Eqsys.Flin, Simc, Compnt, Wd) 42 43 // VAVユニット 44 VWVint(Eqsys.Vav, Compnt) 45 46 // 全熱交換器 47 Thexint(Eqsys.Thex) 48 49 // 太陽電池 50 PVint(Eqsys.PVcmp, Exsf, Wd) 51 52 // デシカント槽 53 Desiint(Eqsys.Desi, Simc, Compnt, Wd) 54 55 // 気化冷却器 56 Evacint(Eqsys.Evac) 57 } 58 59 // システム使用機器特性式係数の計算 60 func (Eqsys *EQSYS) Mecscf() { 61 // 合流要素 62 Cnvrgcfv(Eqsys.Cnvrg) 63 64 // 冷温水コイル 65 Hccdwint(Eqsys.Hcc) 66 Hcccfv(Eqsys.Hcc) 67 68 // ボイラー 69 Boicfv(Eqsys.Boi) 70 71 // 太陽熱集熱器 72 Collcfv(Eqsys.Coll) 73 74 // ヒートポンプ 75 Refacfv(Eqsys.Refa) 76 77 // 配管 78 Pipecfv(Eqsys.Pipe) 79 80 // 熱交換器 81 Hexcfv(Eqsys.Hex) 82 83 // 定流量ポンプ、変流量ポンプおよび太陽電池駆動ポンプ 84 Pumpcfv(Eqsys.Pump) 85 86 // VAVユニット 87 VAVcfv(Eqsys.Vav) 88 89 // 蓄熱槽 90 Stheatcfv(Eqsys.Stheat) 91 92 // 全熱交換器 93 Thexcfv(Eqsys.Thex) 94 95 // デシカント槽 96 Desicfv(Eqsys.Desi) 97 98 // 気化冷却器 99 Evaccfv(Eqsys.Evac) 100 } 101 102 // システム使用機器の供給熱量、エネルギーの計算 103 func (Eqsys *EQSYS) Mecsene() { 104 // 冷温水コイル 105 Hccene(Eqsys.Hcc) 106 107 // 太陽熱集熱器 108 Collene(Eqsys.Coll) 109 110 // ヒートポンプ 111 Refaene2(Eqsys.Refa) 112 113 // 配管 114 Pipeene(Eqsys.Pipe) 115 116 // 熱交換器 117 Hexene(Eqsys.Hex) 118 119 // 蓄熱槽 120 Stankene(Eqsys.Stank) 121 122 // ポンプ 123 Pumpene(Eqsys.Pump) 124 125 // 電気蓄熱暖房器 126 Stheatene(Eqsys.Stheat) 127 128 // デシカント槽 129 Desiene(Eqsys.Desi) 130 131 // 全熱交換器 132 Thexene(Eqsys.Thex) 133 134 // カロリーメータ 135 Qmeasene(Eqsys.Qmeas) 136 137 // 太陽電池 138 PVene(Eqsys.PVcmp) 139 }