Skip to content
Snippets Groups Projects
  1. Nov 23, 2020
    • 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. Jul 27, 2020
  3. Jun 29, 2020
  4. Apr 09, 2020
  5. Feb 08, 2020
  6. Feb 06, 2020
  7. Jan 22, 2020
  8. Jan 20, 2020
  9. Jan 17, 2020
    • 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. Jan 16, 2020
    • 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. Jan 15, 2020
  12. Jan 10, 2020
  13. Jan 08, 2020
  14. Dec 20, 2019
    • 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. Dec 16, 2019
    • 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. Dec 11, 2019
Loading