Link Search Menu Expand Document Facebook Twitter Linkedin Instagram Light mode Dark mode

0.6.0 (2021-06-04)

Added

  • interactive mode (REPL)
  • psrio-base and require("<base>")
  • include("<file>") with relative directory
  • runtime input data loading: collection:load_vector(attribute, unit) and collection:load_parameter(attribute, unit)
  • exp:select_stages(stage), exp:select_stages_by_year(initial_year, final_year), exp:reset_stages()
  • exp:select_scenarios(scenario) and exp:select_scenarios({scenario}) [per stage]
  • exp:select_agents(query)
  • exp:round(digits)
  • exp:force_hourly()
  • exp:save("<file>", { horizon = true })
  • attributes getters:
    • exp:loaded(), exp:unit(), exp:agents(), exp:agents_size(),exp:agent(int i), exp:scenarios()
    • exp:stage_type(), exp:initial_year(), exp:initial_stage(), exp:stages(), exp:week(stage), exp:month(stage), exp:year(stage)
    • exp:blocks(int), exp:has_blocks(), exp:is_hourly(), exp:to_list(), exp:to_int_list()
  • study:is_hourly() and study:is_genesys() methods
  • pu unit
  • add_index_translation(...) and macro_agents() functions
  • single binary support
  • relationship from buses to circuits in exp:aggregate_agents()

Changed

  • added files in indice.grf even if it is not in indexdat.fmt
  • deleted bin/hdr files in CSV mode

Fixed

  • several fixes of methods with first_stage > 1
  • error handling when loading an output with the wrong collection
  • error in concatenate when expression agents = 0
  • input hourly data loading when there is no hour-block mapping file
  • exp:to_block() and historical scenarios performance

Removed

  • variable_by_scenario metadata (variable_by_scenario = false is now scenarios = 1)
  • --skip argument, now it is automatic