GCC Code Coverage Report


Directory: ./
Coverage: low: ≥ 0% medium: ≥ 75.0% high: ≥ 90.0%
Coverage Exec / Excl / Total
Lines: 100.0% 1 / 0 / 1
Functions: 100.0% 1 / 0 / 1
Branches: -% 0 / 0 / 0

src/model/GroundHeatExchangerHorizontalTrench_Impl.hpp
Line Branch Exec Source
1 /***********************************************************************************************************************
2 * OpenStudio(R), Copyright (c) Alliance for Energy Innovation, LLC.
3 * See also https://openstudio.net/license
4 ***********************************************************************************************************************/
5
6 #ifndef MODEL_GROUNDHEATEXCHANGERHORIZONTALTRENCH_IMPL_HPP
7 #define MODEL_GROUNDHEATEXCHANGERHORIZONTALTRENCH_IMPL_HPP
8
9 #include "ModelAPI.hpp"
10 #include "StraightComponent_Impl.hpp"
11
12 namespace openstudio {
13
14 namespace model {
15
16 namespace detail {
17
18 /** GroundHeatExchangerHorizontalTrench_Impl is a StraightComponent_Impl that is the implementation class for GroundHeatExchangerHorizontalTrench.*/
19 class MODEL_API GroundHeatExchangerHorizontalTrench_Impl : public StraightComponent_Impl
20 {
21 public:
22 /** @name Constructors and Destructors */
23 //@{
24
25 GroundHeatExchangerHorizontalTrench_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle);
26
27 GroundHeatExchangerHorizontalTrench_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle);
28
29 GroundHeatExchangerHorizontalTrench_Impl(const GroundHeatExchangerHorizontalTrench_Impl& other, Model_Impl* model, bool keepHandle);
30
31 21 virtual ~GroundHeatExchangerHorizontalTrench_Impl() override = default;
32
33 //@}
34 /** @name Virtual Methods */
35 //@{
36
37 virtual const std::vector<std::string>& outputVariableNames() const override;
38
39 virtual IddObjectType iddObjectType() const override;
40
41 virtual unsigned inletPort() const override;
42
43 virtual unsigned outletPort() const override;
44
45 virtual bool addToNode(Node& node) override;
46
47 virtual ComponentType componentType() const override;
48 virtual std::vector<FuelType> coolingFuelTypes() const override;
49 virtual std::vector<FuelType> heatingFuelTypes() const override;
50 virtual std::vector<AppGFuelType> appGHeatingFuelTypes() const override;
51
52 //@}
53 /** @name Getters */
54 //@{
55
56 double designFlowRate() const;
57
58 double trenchLengthinPipeAxialDirection() const;
59
60 int numberofTrenches() const;
61
62 double horizontalSpacingBetweenPipes() const;
63
64 double pipeInnerDiameter() const;
65
66 double pipeOuterDiameter() const;
67
68 double burialDepth() const;
69
70 double soilThermalConductivity() const;
71
72 double soilDensity() const;
73
74 double soilSpecificHeat() const;
75
76 double pipeThermalConductivity() const;
77
78 double pipeDensity() const;
79
80 double pipeSpecificHeat() const;
81
82 double soilMoistureContentPercent() const;
83
84 double soilMoistureContentPercentatSaturation() const;
85
86 double evapotranspirationGroundCoverParameter() const;
87
88 ModelObject undisturbedGroundTemperatureModel() const;
89
90 //@}
91 /** @name Setters */
92 //@{
93
94 bool setDesignFlowRate(double designFlowRate);
95
96 bool setTrenchLengthinPipeAxialDirection(double trenchLengthinPipeAxialDirection);
97
98 bool setNumberofTrenches(int numberofTrenches);
99
100 bool setHorizontalSpacingBetweenPipes(double horizontalSpacingBetweenPipes);
101
102 bool setPipeInnerDiameter(double pipeInnerDiameter);
103
104 bool setPipeOuterDiameter(double pipeOuterDiameter);
105
106 bool setBurialDepth(double burialDepth);
107
108 bool setSoilThermalConductivity(double soilThermalConductivity);
109
110 bool setSoilDensity(double soilDensity);
111
112 bool setSoilSpecificHeat(double soilSpecificHeat);
113
114 bool setPipeThermalConductivity(double pipeThermalConductivity);
115
116 bool setPipeDensity(double pipeDensity);
117
118 bool setPipeSpecificHeat(double pipeSpecificHeat);
119
120 bool setSoilMoistureContentPercent(double soilMoistureContentPercent);
121
122 bool setSoilMoistureContentPercentatSaturation(double soilMoistureContentPercentatSaturation);
123
124 bool setEvapotranspirationGroundCoverParameter(double evapotranspirationGroundCoverParameter);
125
126 bool setUndisturbedGroundTemperatureModel(const ModelObject& undisturbedGroundTemperatureModel);
127
128 //@}
129 /** @name Other */
130 //@{
131
132 //@}
133 protected:
134 private:
135 REGISTER_LOGGER("openstudio.model.GroundHeatExchangerHorizontalTrench");
136 };
137
138 } // namespace detail
139
140 } // namespace model
141 } // namespace openstudio
142
143 #endif // MODEL_GROUNDHEATEXCHANGERHORIZONTALTRENCH_IMPL_HPP
144