Skip to content
Snippets Groups Projects
Commit 9be9cdd0 authored by ellen.seabrooke's avatar ellen.seabrooke
Browse files

further removal

parent 342f475c
No related branches found
No related tags found
1 merge request!267Fix/remove oxygen system from systems design
......@@ -157,7 +157,6 @@ void weightsAndCGs::getFurnishingsGroup() {
std::vector<std::string> includedATA;
includedATA.push_back("ATA-25"); //Furnishing
includedATA.push_back("ATA-33"); //Lighting
includedATA.push_back("ATA-35"); //Oxygen
// Finder of the respective systems
for (size_t i = 0; i < includedATA.size(); i++) {
bool foundSystem{false};
......@@ -258,7 +257,6 @@ void weightsAndCGs::getSystemsGroup() {
includedATA.push_back("ATA-29"); //Hydraulic
includedATA.push_back("ATA-30"); //Anti Ice
///includedATA.push_back( "ATA-33" ); //Lighting -> in Furnishings Group
///includedATA.push_back( "ATA-35" ); //Oxygen -> in Furnishings Group
includedATA.push_back("ATA-49"); //APU
includedATA.push_back("ATA-XX"); //Remaining consumers including AVIONICS
// Finder of the respective systems
......
......@@ -72,7 +72,6 @@ void standardSystemsDesign::generatePlotSystemsMass() {
plot << "ATA-29;Hydraulic System;" << data_->Systems.allSystems.at(data_->Systems.getSpecificSystem("ATA-29"))->Mass << std::endl;
plot << "ATA-30;Anti-Icing;" << data_->Systems.allSystems.at(data_->Systems.getSpecificSystem("ATA-30"))->Mass << std::endl;
plot << "ATA-33;Lighting;" << data_->Systems.allSystems.at(data_->Systems.getSpecificSystem("ATA-33"))->Mass << std::endl;
plot << "ATA-35;Oxygen;" << data_->Systems.allSystems.at(data_->Systems.getSpecificSystem("ATA-35"))->Mass << std::endl;
plot << "ATA-36;Bleed Air;" << data_->Systems.allSystems.at(data_->Systems.getSpecificSystem("ATA-36"))->Mass << std::endl;
if (data_->Systems.containsSystem("ATA-85") == true) {
plot << "ATA-85;FC;" << data_->Systems.allSystems.at(data_->Systems.getSpecificSystem("ATA-85"))->Mass << std::endl;
......@@ -86,7 +85,7 @@ void standardSystemsDesign::generatePlotSystemsMass() {
// Prepare data for plotting
std::vector<std::string> components = {
"ATA-21", "ATA-24", "ATA-25", "ATA-26", "ATA-27", "ATA-28", "ATA-29",
"ATA-30", "ATA-33", "ATA-35", "ATA-36", data_->Systems.containsSystem("ATA-85") ? "ATA-85" : "ATA-49", "ATA-XX", "not Alloc"
"ATA-30", "ATA-33", "ATA-36", data_->Systems.containsSystem("ATA-85") ? "ATA-85" : "ATA-49", "ATA-XX", "not Alloc"
};
std::vector<std::string> names = {
"Air Conditioning", "Electric System", "Furnishing", "Fire Protection",
......@@ -104,7 +103,6 @@ void standardSystemsDesign::generatePlotSystemsMass() {
data_->Systems.allSystems.at(data_->Systems.getSpecificSystem("ATA-29"))->Mass,
data_->Systems.allSystems.at(data_->Systems.getSpecificSystem("ATA-30"))->Mass,
data_->Systems.allSystems.at(data_->Systems.getSpecificSystem("ATA-33"))->Mass,
data_->Systems.allSystems.at(data_->Systems.getSpecificSystem("ATA-35"))->Mass,
data_->Systems.allSystems.at(data_->Systems.getSpecificSystem("ATA-36"))->Mass,
data_->Systems.containsSystem("ATA-85") ? data_->Systems.allSystems.at(data_->Systems.getSpecificSystem("ATA-85"))->Mass :
data_->Systems.allSystems.at(data_->Systems.getSpecificSystem("ATA-49"))->Mass,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment