Sha256: 19a256cff2a64936c1418f7b7952de2232040472f4e15111089e79ba9005de76

Contents?: true

Size: 973 Bytes

Versions: 6

Compression:

Stored size: 973 Bytes

Contents

ElectricityAndTransport=AMEE::DataAbstraction::CalculationSet.new {
  all_calculations {
    metadatum {
      label :department
      choices %w{stuff things more_stuff meta_things}
    }
  }

  calculation{
    name 'electricity'
    label :electricity
    path '/business/energy/electricity/grid'
    profile {
      label :usage
      name 'Electricity Used'
      path 'energyPerTime'
    }
    drill {
      label :country
      path 'country'
      fixed 'Argentina'
    }
    output {
      label :co2
      path :default
    }
  }

  calculation {
    name 'transport'
    label :transport
    path '/transport/car/generic'

    drill {
      path 'fuel'
      label :fuel
      name 'Fuel Type'
    }
    drill {
      path 'size'
      label :size
      name 'Vehicle Size'
    }
    profile {
      path 'distance'
      label :distance
      name 'Distance Driven'
    }
    output {
      label :co2
      path :default
      name 'Carbon Dioxide'
    }
  }
}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
amee-data-abstraction-2.1.1 spec/fixtures/electricity_and_transport.rb
amee-data-abstraction-2.1.0 spec/fixtures/electricity_and_transport.rb
amee-data-abstraction-1.2.0 spec/fixtures/electricity_and_transport.rb
amee-data-abstraction-2.0.0 spec/fixtures/electricity_and_transport.rb
amee-data-abstraction-1.1.0 spec/fixtures/electricity_and_transport.rb
amee-data-abstraction-1.0.0 spec/fixtures/electricity_and_transport.rb