# encoding: utf-8 # # (c) Minh Ha-Duong 2018 # [email protected] # Creative Commons Attribution-ShareAlike 4.0 International # """Compare the baseline vs. the more gas scenario. Coal and gas are costed at domestic prices. """ import sys from plan_baseline import baseline from plan_more_gas import moreGas from parameter_reference import reference from Run import RunPair if __name__ == '__main__': if (len(sys.argv) == 2) and (sys.argv[1] == "summarize"): PAIR = RunPair(baseline, moreGas, reference) print(PAIR.summary(["Baseline", "More gas", "difference"]))
def test_runpair_summary(regtest): pair = RunPair(baseline, withCCS, reference) regtest.write(pair.summary(["Baseline", "High CCS", "difference"]))
# encoding: utf-8 # # (c) Minh Ha-Duong 2017 # [email protected] # Creative Commons Attribution-ShareAlike 4.0 International # """Assess the scenarios.""" import sys from plan_baseline import baseline from plan_with_ccs import withCCS from parameter_reference import reference from Run import RunPair if __name__ == '__main__': if (len(sys.argv) == 2) and (sys.argv[1] == "summarize"): PAIR = RunPair(baseline, withCCS, reference) print(PAIR.summary(["Baseline", "High CCS", "difference"]))