Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Import alias Import alias identifier Import alias identifier ImportFrom alias ClassDef bases body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore ListComp Dict Str Str Str NameLoad NameLoad AttributeLoad NameLoad attr comprehension TupleStore NameStore NameStore Call NameLoad NameLoad SubscriptLoad NameLoad Slice Num Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If CompareIsNot NameLoad NameLoad body AugAssignAdd NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr BinOpMult NameLoad NameLoad Return NameLoad decorator_list decorator_list ClassDef bases body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Str body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Assign NameStore NameLoad Assign NameStore NameLoad If BoolOpOr UnaryOpNot AttributeLoad NameLoad attr UnaryOpNot AttributeLoad NameLoad attr body Assign NameStore Str Raise Call NameLoad NameLoad Assign NameStore ListLoad NameLoad NameLoad NameLoad NameLoad For NameStore NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr If BoolOpAnd CompareIsNot AttributeLoad NameLoad attr NameLoad CompareLt AttributeLoad NameLoad attr NameLoad body Assign NameStore AttributeLoad NameLoad attr If BoolOpAnd CompareIsNot AttributeLoad NameLoad attr NameLoad CompareLt NameLoad AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str Str AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str Str AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad ListLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore Dict Str Str Str Str Str Str Str NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr ListComp Call AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr ListComp BinOpAdd NameLoad Call AttributeLoad NameLoad attr comprehension TupleStore NameStore NameStore Call NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Index Str Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Index Str Assign NameStore BinOpSub NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad For TupleStore NameStore NameStore NameStore Call NameLoad NameLoad NameLoad NameLoad body If CompareIn NameLoad NameLoad body Assign NameStore NameLoad orelse Assign NameStore NameLoad Assign NameStore Dict Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad keyword Str Return TupleLoad NameLoad NameLoad NameLoad NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Assign NameStore Str Raise Call NameLoad NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad BinOpDiv Num Num Assign NameStore ListLoad AttributeLoad NameLoad attr While NameLoad body Assign NameStore BinOpAdd SubscriptLoad NameLoad Index Num Call NameLoad keyword Call AttributeLoad NameLoad attr If CompareLt NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad orelse Break Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If BoolOpOr CompareIs AttributeLoad NameLoad attr NameLoad CompareIs AttributeLoad NameLoad attr NameLoad body Assign NameStore Str Raise Call NameLoad NameLoad Return ListComp NameLoad comprehension NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad decorator_list
N/A datetime timedelta eemeter.consumption ConsumptionData eemeter.evaluation Period eemeter.project Project eemeter.meter AnnualizedUsageMeter eemeter.weather GSODWeatherSource eemeter.weather TMY3WeatherSource N/A random N/A numpy np N/A pandas pd scipy.stats poisson MonthlyBillingConsumptionGenerator N/A N/A N/A Class for generating consumptions given a particular model, parameters,
    and weather data. Useful for testing meters or meter deployments before
    observed project data becomes available.
     __init__ N/A N/A self fuel_type consumption_unit_name temperature_unit_name model params N/A N/A N/A N/A self fuel_type fuel_type N/A N/A self consumption_unit_name consumption_unit_name N/A N/A self temperature_unit_name temperature_unit_name N/A N/A self model model N/A N/A self params N/A N/A N/A self model param_type params N/A generate N/A N/A self weather_source datetimes daily_noise_dist N/A None N/A N/A Returns a ConsumptionData instance given a particular weather
        source and a list of datetimes.

        Parameters
        ----------
        weather_source : eemeter.weather.WeatherSourceBase
            Weather source from which to draw outdoor temperature data.
        datetimes : list of datetime objects
            Periods over which to simulate consumption.
        daily_noise_dist : scipy.stats.rv_continuous, default None
            Noise to add to each day in a period. Noise is additive and sampled
            independently for each period. e.g. scipy.stats.normal().
         N/A records N/A N/A start end value start end N/A np nan N/A N/A start end N/A zip datetimes N/A datetimes N/A 1 N/A cd N/A ConsumptionData records N/A self fuel_type N/A self consumption_unit_name record_type arbitrary N/A periods N/A N/A cd periods N/A period_daily_temps N/A N/A weather_source daily_temperatures periods N/A self temperature_unit_name N/A period_average_daily_usages N/A N/A N/A self model transform period_daily_temps N/A self params N/A N/A average_daily_usage period N/A zip period_average_daily_usages periods N/A N/A n_days N/A N/A period timedelta days N/A N/A daily_noise_dist None N/A N/A average_daily_usage N/A N/A np mean N/A N/A daily_noise_dist rvs n_days N/A N/A N/A cd data N/A N/A period start N/A average_daily_usage n_days N/A cd N/A N/A ProjectGenerator N/A N/A N/A Class for generating complete projects given a particular parameter
    distributions and weather data. Useful for testing meters or meter
    deployments before observed project data becomes available.
     __init__ N/A N/A self electricity_model gas_model electricity_param_distributions electricity_param_delta_distributions gas_param_distributions gas_param_delta_distributions temperature_unit_name N/A degF N/A N/A N/A self electricity_model electricity_model N/A N/A self elec_param_dists N/A N/A electricity_model param_type electricity_param_distributions N/A N/A self elec_param_delta_dists N/A N/A electricity_model param_type electricity_param_delta_distributions N/A N/A self gas_model gas_model N/A N/A self gas_param_dists N/A N/A gas_model param_type gas_param_distributions N/A N/A self gas_param_delta_dists N/A N/A gas_model param_type gas_param_delta_distributions N/A N/A self temperature_unit_name temperature_unit_name N/A generate N/A N/A self location period_elec period_gas baseline_period reporting_period noise_elec noise_gas N/A None None N/A N/A Returns a simple simulated project consisting of generated
        electricity and gas consumptions and estimated savings for each.

        Parameters
        ----------
        location : eemeter.location.Location
            Location of project
         N/A early_date None N/A late_date None N/A N/A N/A N/A period_elec closed N/A N/A period_gas closed N/A N/A message Periods of consumption must have start and end. N/A N/A ValueError message N/A all_periods N/A period_elec period_gas baseline_period reporting_period N/A period all_periods N/A N/A N/A early_date None N/A N/A early_date N/A period start N/A N/A late_date None N/A N/A late_date N/A period end N/A N/A N/A N/A period start None N/A N/A period start early_date N/A N/A early_date N/A period start N/A N/A N/A N/A period end None N/A late_date N/A period end N/A N/A late_date N/A period end N/A weather_source N/A GSODWeatherSource N/A location station N/A early_date year N/A late_date year N/A weather_normal_source N/A TMY3WeatherSource N/A location station N/A N/A cd_elec est_savings_elec elec_bl_params elec_rp_params N/A N/A self _generate_fuel_consumptions weather_source weather_normal_source period_elec N/A self electricity_model N/A self elec_param_dists N/A self elec_param_delta_dists noise_elec baseline_period reporting_period electricity kWh N/A self temperature_unit_name N/A N/A cd_gas est_savings_gas gas_bl_params gas_rp_params N/A N/A self _generate_fuel_consumptions weather_source weather_normal_source period_gas N/A self gas_model N/A self gas_param_dists N/A self gas_param_delta_dists noise_gas baseline_period reporting_period natural_gas therm N/A self temperature_unit_name N/A project N/A Project location N/A cd_elec cd_gas baseline_period reporting_period N/A results N/A project electricity_estimated_savings natural_gas_estimated_savings electricity_pre_params natural_gas_pre_params electricity_post_params natural_gas_post_params project est_savings_elec est_savings_gas elec_bl_params gas_bl_params elec_rp_params gas_rp_params N/A results N/A _generate_fuel_consumptions N/A N/A self weather_source weather_normal_source period model param_dists param_delta_dists noise baseline_period reporting_period fuel_type consumption_unit_name temperature_unit_name N/A N/A N/A baseline_params N/A N/A model param_type N/A N/A N/A param rvs N/A param N/A N/A param_dists to_list N/A reporting_params N/A N/A model param_type N/A N/A bl_param N/A N/A param_delta rvs N/A N/A bl_param param_delta N/A zip N/A N/A baseline_params to_list N/A N/A param_delta_dists to_list N/A annualized_usage_meter N/A AnnualizedUsageMeter temperature_unit_name model N/A baseline_annualized_usage N/A N/A N/A annualized_usage_meter evaluate_raw model_params baseline_params weather_normal_source weather_normal_source N/A annualized_usage N/A reporting_annualized_usage N/A N/A N/A annualized_usage_meter evaluate_raw model_params reporting_params weather_normal_source weather_normal_source N/A annualized_usage N/A estimated_annualized_savings N/A baseline_annualized_usage reporting_annualized_usage N/A baseline_generator N/A MonthlyBillingConsumptionGenerator fuel_type consumption_unit_name temperature_unit_name model baseline_params N/A reporting_generator N/A MonthlyBillingConsumptionGenerator fuel_type consumption_unit_name temperature_unit_name model reporting_params N/A datetimes N/A generate_monthly_billing_datetimes period dist None N/A baseline_consumption_data N/A N/A baseline_generator generate weather_source datetimes daily_noise_dist noise N/A reporting_consumption_data N/A N/A reporting_generator generate weather_source datetimes daily_noise_dist noise N/A baseline_data N/A baseline_consumption_data data N/A reporting_data N/A reporting_consumption_data data N/A periods N/A N/A baseline_consumption_data periods N/A records N/A N/A N/A bl_data rp_data period N/A zip baseline_data reporting_data periods N/A N/A N/A period reporting_period N/A N/A val rp_data N/A N/A val bl_data N/A record N/A start end value N/A period start N/A period end val N/A N/A N/A records append record N/A cd N/A ConsumptionData records fuel_type consumption_unit_name record_type arbitrary N/A N/A cd estimated_annualized_savings baseline_params reporting_params N/A N/A generate_monthly_billing_datetimes N/A N/A period dist N/A None N/A N/A Returns an array of poisson distributed datetimes falling on simulated
    monthly billing dates.

    Parameters
    ----------

    period : eemeter.evaluation.Period
        The period over which to generate datetimes. Datetimes will all fall
        within the bounds of this period, and will start on the start date of
        the period. Must be on a closed interval.
    dist : scipy.stats.rv_discrete, default None
        The distribution from which to draw samples of number of days between
        monthly bills. If :code:`None`, defaults to
        :code:`scipy.stats.poisson(365/12.)`.

     N/A period_delta N/A period timedelta N/A N/A period_delta None N/A N/A message Please provide a period with valid start and end date. N/A N/A ValueError message N/A N/A dist None N/A N/A dist N/A poisson N/A 365 12.0 N/A periods N/A N/A period start N/A True N/A N/A next_date N/A N/A periods N/A -1 N/A timedelta days N/A N/A dist rvs N/A N/A next_date N/A period end N/A N/A N/A N/A periods append next_date N/A N/A N/A periods N/A generate_interval_datetimes N/A N/A period freq N/A N/A N/A Returns an array of equally-spaced dates that simulate AMI periods.

    Parameters
    ----------

    period : eemeter.evaluation.Period
        The period over which to generate periods. Periods will fall within
        the bounds of this period, and will start on the start date of the
        period. Must be on a closed interval.
    freq : str
        Should be a period specification following the syntax of pandas
        offset aliases.

     N/A N/A N/A N/A period start None N/A N/A period end None N/A N/A message Please provide a period with valid start and end date. N/A N/A ValueError message N/A N/A d N/A d N/A N/A pd date_range N/A period start N/A period end freq freq N/A