Class: URBANopt::Scenario::SimulationMapperBase

Inherits:
Object
  • Object
show all
Defined in:
lib/urbanopt/scenario/simulation_mapper_base.rb

Instance Method Summary collapse

Constructor Details

#initializeSimulationMapperBase

perform initialization functions



45
# File 'lib/urbanopt/scenario/simulation_mapper_base.rb', line 45

def initialize; end

Instance Method Details

#create_osw(scenario, features, feature_names) ⇒ Object

create osw file given a ScenarioBase object, features, and feature_names

parameters:
  • scenario - ScenarioBase - An object of ScenarioBase class.

  • features - Array - Array of Features.

  • feature_names - Array - Array of scenario specific names for these Features.



52
53
54
# File 'lib/urbanopt/scenario/simulation_mapper_base.rb', line 52

def create_osw(scenario, features, feature_names)
  raise 'create_osw not implemented for SimulationMapperBase, override in your class'
end