mario.Database.reset_to_coefficients

Database.reset_to_coefficients(scenario, backup=True)

Deletes the flows of a scenario and keeps only coefficients

Parameters:
  • scenario (str) – the specific scenario to reset

  • backup (boolean) – if True, will create a backup of database before changes