1. 23 Nov, 2020 2 commits
    • clivings's avatar
      to RunFilter added cmd line options · 19f9f8f1
      clivings authored
      19f9f8f1
    • clivings's avatar
      Created "Filtering" package in "analysis" package · 471fa843
      clivings authored
      And created "RunFilters" class within "Filtering" pacakage.
      
      Currently RunFilters creates a new population by copying
      only-non-freight agents from the input population into the output
      population.
      
      Intended use is for filtering freight agents out of the output_plans.xml
      of fully relaxed simulations from the ASTRA-2018-002 project or that use
      the synthetic population for Switzerland. The filtered_population.xml
      would then at some point be simulated for one iteration, producing an
      events file without freight agents. This is to give an SCCER group in
      M-TEC at ETHZ a plans.xml and an events.xml for some electric-car vs
      grid analysis that does not have freight, because they do not have the
      contracts for it.
      471fa843
  2. 27 Jul, 2020 2 commits
  3. 29 Jun, 2020 2 commits
  4. 09 Apr, 2020 1 commit
  5. 08 Feb, 2020 1 commit
  6. 06 Feb, 2020 12 commits
  7. 22 Jan, 2020 8 commits
  8. 20 Jan, 2020 2 commits
  9. 17 Jan, 2020 1 commit
    • clivings's avatar
      Using Defaults in Line 1504 of plot.py · a9dd1925
      clivings authored
      the cmap arrays were producing IndexError: index 3 is out of bounds for size 3 errors.
      
      Set plot function to defaults and default colors allowed things to run.
      a9dd1925
  10. 16 Jan, 2020 2 commits
    • clivings's avatar
      Started adding in "run_name" as arguments to methods that build filepaths · 1bec4221
      clivings authored
      so far I've been finding these methods via error messages.
      IMPORTANT NOTE: I figured out that I need to alter "YEARS" and "AV_YEARS" and "SCENARIOS" to NOT include the years and scenarios that do not occur in the data set I'm feeding the code. Otherwise it still processes, say, 2040, and if there is no corresponding row, aka scenario, it returns an empty array or list or whatever and then that pesky "IndexError: index 0 is out of bounds for axis 0 with size 0" shows up.
      1bec4221
    • clivings's avatar
      add D and E scenarios continued · 86fff980
      clivings authored
      because it won't work without explicitly coding them in, unfortunately
      
      tried to add run_name to the methods that constructed filepaths, but so far unsucessfully
      86fff980
  11. 15 Jan, 2020 1 commit
    • clivings's avatar
      add D and E scenarios · b671496d
      clivings authored
      because it won't work without explicitly coding them in, unfortunately
      b671496d
  12. 10 Jan, 2020 2 commits
  13. 08 Jan, 2020 1 commit
  14. 20 Dec, 2019 1 commit
    • clivings's avatar
      Add Scenario E to AssingPrivatAVs · 17708b19
      clivings authored
      because we promised to test the 100% Avs with low PCUs on both ASTRA
      Scenarios (normal car ownership aka A, and low car ownership aka B)
      17708b19
  15. 16 Dec, 2019 1 commit
    • clivings's avatar
      In Assigning the mode truckAv, also changing plans · c57f02fe
      clivings authored
      so that all freight agents use the mode truckAv when ASTRA_Scenario =
      "D", when the person attribute "isFreight" is set to "true", the
      selected plan of that person is modified such that all legs whose mode
      was equal to "truck" are subsequently equal to "truckAv".
      
      THIS HAS ONLY BEEN DONE FOR ASTRA_Scenario ="D", BECAUSE OTHERWISE THE
      SENSITIVITY ANALYSIS FOR THE OTHER ASTRA SCENARIOS WOULD BE
      INCONSISTANT!!
      
      THUS, WHEN THIS CODE IS USED IN THE FUTURE THIS FIXED SHOULD BE APPLIED
      TO THE OTHER PARTS OF THE FREIGH ASSIGNMENT IF LOOP!
      c57f02fe
  16. 11 Dec, 2019 1 commit