MCPcopy Create free account
hub / github.com/NatLabRockies/OpenStudio / numberofSpeeds

Method numberofSpeeds

src/model/FanSystemModel.cpp:637–642  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

635 //}
636
637 unsigned FanSystemModel_Impl::numberofSpeeds() const {
638 // number of different speed levels available when Speed Control Method is set to Discrete
639 // note Speed need to be arranged in increasing order in remaining field sets.
640 // If set to 1, or omitted, and Speed Control Method is Discrete then constant fan speed is the design maximum.
641 return std::max<unsigned>(1, numExtensibleGroups());
642 }
643
644 boost::optional<unsigned> FanSystemModel_Impl::speedIndex(const FanSystemModelSpeed& t_speed) const {
645 boost::optional<unsigned> result;

Callers 4

TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80

Calls

no outgoing calls

Tested by 3

TEST_FFunction · 0.64
TEST_FFunction · 0.64
TEST_FFunction · 0.64