Sha256: a5c68e25534577c5c16f12a4e63f6cf746d05d47e9611ef1258fb858a934058b

Contents?: true

Size: 951 Bytes

Versions: 2

Compression:

Stored size: 951 Bytes

Contents

# *********************************************************************************
# URBANopt (tm), Copyright (c) Alliance for Sustainable Energy, LLC.
# See also https://github.com/urbanopt/urbanopt-scenario-gem/blob/develop/LICENSE.md
# *********************************************************************************

module URBANopt
  module Scenario
    class SimulationMapperBase
      # perform initialization functions
      def initialize; end

      # 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.
      def create_osw(scenario, features, feature_names)
        raise 'create_osw not implemented for SimulationMapperBase, override in your class'
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
urbanopt-scenario-0.11.0 lib/urbanopt/scenario/simulation_mapper_base.rb
urbanopt-scenario-0.10.0 lib/urbanopt/scenario/simulation_mapper_base.rb