citylearn package
Subpackages
Submodules
- citylearn.base module
Environment
Environment.DEFAULT_RANDOM_SEED_RANGE
Environment.DEFAULT_SECONDS_PER_TIME_STEP
Environment.episode_tracker
Environment.get_metadata()
Environment.next_time_step()
Environment.numpy_random_state
Environment.random_seed
Environment.reset()
Environment.reset_time_step()
Environment.seconds_per_time_step
Environment.time_step
Environment.uid
EpisodeTracker
EpisodeTracker.episode
EpisodeTracker.episode_end_time_step
EpisodeTracker.episode_start_time_step
EpisodeTracker.episode_time_steps
EpisodeTracker.next_episode()
EpisodeTracker.reset_episode_index()
EpisodeTracker.simulation_end_time_step
EpisodeTracker.simulation_start_time_step
EpisodeTracker.simulation_time_steps
- citylearn.building module
Building
Building.action_metadata
Building.action_space
Building.active_actions
Building.active_observations
Building.apply_actions()
Building.autosize_cooling_device()
Building.autosize_cooling_storage()
Building.autosize_dhw_device()
Building.autosize_dhw_storage()
Building.autosize_electrical_storage()
Building.autosize_heating_device()
Building.autosize_heating_storage()
Building.autosize_pv()
Building.carbon_intensity
Building.comfort_band
Building.cooling_demand
Building.cooling_device
Building.cooling_device_cop
Building.cooling_electricity_consumption
Building.cooling_storage
Building.cooling_storage_electricity_consumption
Building.demand_observation_limit_factor
Building.dhw_demand
Building.dhw_device
Building.dhw_device_cop
Building.dhw_electricity_consumption
Building.dhw_storage
Building.dhw_storage_electricity_consumption
Building.downward_electrical_flexibility
Building.electric_vehicle_chargers
Building.electrical_storage
Building.electrical_storage_electricity_consumption
Building.energy_from_cooling_device
Building.energy_from_cooling_device_to_cooling_storage
Building.energy_from_cooling_storage
Building.energy_from_dhw_device
Building.energy_from_dhw_device_to_dhw_storage
Building.energy_from_dhw_storage
Building.energy_from_electrical_storage
Building.energy_from_heating_device
Building.energy_from_heating_device_to_heating_storage
Building.energy_from_heating_storage
Building.energy_simulation
Building.energy_to_electrical_storage
Building.energy_to_non_shiftable_load
Building.episode_tracker
Building.estimate_action_space()
Building.estimate_observation_space()
Building.estimate_observation_space_limits()
Building.get_metadata()
Building.get_periodic_observation_metadata()
Building.heating_demand
Building.heating_device
Building.heating_device_cop
Building.heating_electricity_consumption
Building.heating_storage
Building.heating_storage_electricity_consumption
Building.indoor_dry_bulb_temperature
Building.indoor_dry_bulb_temperature_cooling_set_point
Building.indoor_dry_bulb_temperature_heating_set_point
Building.maximum_temperature_delta
Building.name
Building.net_electricity_consumption
Building.net_electricity_consumption_cost
Building.net_electricity_consumption_cost_without_storage
Building.net_electricity_consumption_cost_without_storage_and_pv
Building.net_electricity_consumption_emission
Building.net_electricity_consumption_emission_without_storage
Building.net_electricity_consumption_emission_without_storage_and_pv
Building.net_electricity_consumption_without_storage
Building.net_electricity_consumption_without_storage_and_pv
Building.next_time_step()
Building.non_shiftable_load
Building.non_shiftable_load_device
Building.non_shiftable_load_electricity_consumption
Building.observation_metadata
Building.observation_space
Building.observation_space_limit_delta
Building.observations()
Building.occupant_count
Building.power_outage
Building.power_outage_signal
Building.pricing
Building.pv
Building.random_seed
Building.reset()
Building.reset_data_sets()
Building.reset_dynamic_variables()
Building.reset_power_outage_signal()
Building.simulate_power_outage
Building.solar_generation
Building.stochastic_power_outage
Building.stochastic_power_outage_model
Building.update_cooling_demand()
Building.update_cooling_storage()
Building.update_dhw_storage()
Building.update_electrical_storage()
Building.update_energy_from_cooling_device()
Building.update_energy_from_dhw_device()
Building.update_energy_from_heating_device()
Building.update_heating_demand()
Building.update_heating_storage()
Building.update_non_shiftable_load()
Building.update_variables()
Building.weather
DynamicsBuilding
DynamicsBuilding.apply_actions()
DynamicsBuilding.cooling_demand_without_partial_load
DynamicsBuilding.get_dynamics_input()
DynamicsBuilding.heating_demand_without_partial_load
DynamicsBuilding.indoor_dry_bulb_temperature_without_partial_load
DynamicsBuilding.net_electricity_consumption_cost_without_storage_and_partial_load
DynamicsBuilding.net_electricity_consumption_cost_without_storage_and_partial_load_and_pv
DynamicsBuilding.net_electricity_consumption_emission_without_storage_and_partial_load
DynamicsBuilding.net_electricity_consumption_emission_without_storage_and_partial_load_and_pv
DynamicsBuilding.net_electricity_consumption_without_storage_and_partial_load
DynamicsBuilding.net_electricity_consumption_without_storage_and_partial_load_and_pv
DynamicsBuilding.reset()
DynamicsBuilding.reset_dynamic_variables()
DynamicsBuilding.simulate_dynamics
DynamicsBuilding.update_indoor_dry_bulb_temperature()
LSTMDynamicsBuilding
LogisticRegressionOccupantInteractionBuilding
LogisticRegressionOccupantInteractionBuilding.reset()
LogisticRegressionOccupantInteractionBuilding.reset_data_sets()
LogisticRegressionOccupantInteractionBuilding.reset_dynamic_variables()
LogisticRegressionOccupantInteractionBuilding.set_point_hold_time_steps
LogisticRegressionOccupantInteractionBuilding.update_set_points()
OccupantInteractionBuilding
OccupantInteractionBuilding.apply_actions()
OccupantInteractionBuilding.episode_tracker
OccupantInteractionBuilding.next_time_step()
OccupantInteractionBuilding.random_seed
OccupantInteractionBuilding.reset()
OccupantInteractionBuilding.reset_dynamic_variables()
OccupantInteractionBuilding.update_set_points()
- citylearn.citylearn module
CityLearnEnv
CityLearnEnv.action_names
CityLearnEnv.action_space
CityLearnEnv.associate_electric_vehicles_to_chargers()
CityLearnEnv.buildings
CityLearnEnv.central_agent
CityLearnEnv.cooling_demand
CityLearnEnv.cooling_electricity_consumption
CityLearnEnv.cooling_storage_electricity_consumption
CityLearnEnv.dhw_demand
CityLearnEnv.dhw_electricity_consumption
CityLearnEnv.dhw_storage_electricity_consumption
CityLearnEnv.electric_vehicles
CityLearnEnv.electrical_storage_electricity_consumption
CityLearnEnv.energy_from_cooling_device
CityLearnEnv.energy_from_cooling_device_to_cooling_storage
CityLearnEnv.energy_from_cooling_storage
CityLearnEnv.energy_from_dhw_device
CityLearnEnv.energy_from_dhw_device_to_dhw_storage
CityLearnEnv.energy_from_dhw_storage
CityLearnEnv.energy_from_electrical_storage
CityLearnEnv.energy_from_heating_device
CityLearnEnv.energy_from_heating_device_to_heating_storage
CityLearnEnv.energy_from_heating_storage
CityLearnEnv.energy_to_electrical_storage
CityLearnEnv.energy_to_non_shiftable_load
CityLearnEnv.episode
CityLearnEnv.episode_rewards
CityLearnEnv.episode_time_steps
CityLearnEnv.episode_tracker
CityLearnEnv.evaluate()
CityLearnEnv.evaluate_citylearn_challenge()
CityLearnEnv.get_default_shared_observations()
CityLearnEnv.get_info()
CityLearnEnv.get_metadata()
CityLearnEnv.heating_demand
CityLearnEnv.heating_electricity_consumption
CityLearnEnv.heating_storage_electricity_consumption
CityLearnEnv.load_agent()
CityLearnEnv.net_electricity_consumption
CityLearnEnv.net_electricity_consumption_cost
CityLearnEnv.net_electricity_consumption_cost_without_storage
CityLearnEnv.net_electricity_consumption_cost_without_storage_and_partial_load
CityLearnEnv.net_electricity_consumption_cost_without_storage_and_partial_load_and_pv
CityLearnEnv.net_electricity_consumption_cost_without_storage_and_pv
CityLearnEnv.net_electricity_consumption_emission
CityLearnEnv.net_electricity_consumption_emission_without_storage
CityLearnEnv.net_electricity_consumption_emission_without_storage_and_partial_load
CityLearnEnv.net_electricity_consumption_emission_without_storage_and_partial_load_and_pv
CityLearnEnv.net_electricity_consumption_emission_without_storage_and_pv
CityLearnEnv.net_electricity_consumption_without_storage
CityLearnEnv.net_electricity_consumption_without_storage_and_partial_load
CityLearnEnv.net_electricity_consumption_without_storage_and_partial_load_and_pv
CityLearnEnv.net_electricity_consumption_without_storage_and_pv
CityLearnEnv.next_time_step()
CityLearnEnv.non_shiftable_load
CityLearnEnv.observation_names
CityLearnEnv.observation_space
CityLearnEnv.observations
CityLearnEnv.power_outage
CityLearnEnv.random_episode_split
CityLearnEnv.random_seed
CityLearnEnv.reset()
CityLearnEnv.reward_function
CityLearnEnv.rewards
CityLearnEnv.rolling_episode_split
CityLearnEnv.root_directory
CityLearnEnv.schema
CityLearnEnv.shared_observations
CityLearnEnv.solar_generation
CityLearnEnv.step()
CityLearnEnv.terminated
CityLearnEnv.time_steps
CityLearnEnv.truncated
CityLearnEnv.update_variables()
Error
EvaluationCondition
EvaluationCondition.WITHOUT_STORAGE_AND_PARTIAL_LOAD_AND_PV
EvaluationCondition.WITHOUT_STORAGE_AND_PARTIAL_LOAD_BUT_WITH_PV
EvaluationCondition.WITHOUT_STORAGE_AND_PV
EvaluationCondition.WITHOUT_STORAGE_BUT_WITH_PARTIAL_LOAD_AND_PV
EvaluationCondition.WITHOUT_STORAGE_BUT_WITH_PV
EvaluationCondition.WITH_STORAGE_AND_PARTIAL_LOAD_AND_PV
EvaluationCondition.WITH_STORAGE_AND_PV
UnknownSchemaError
- citylearn.cost_function module
CostFunction
CostFunction.carbon_emissions()
CostFunction.cost()
CostFunction.discomfort()
CostFunction.electricity_consumption()
CostFunction.normalized_unserved_energy()
CostFunction.one_minus_load_factor()
CostFunction.one_minus_thermal_resilience()
CostFunction.peak()
CostFunction.quadratic()
CostFunction.ramping()
CostFunction.zero_net_energy()
- citylearn.data module
CarbonIntensity
DataSet
DataSet.BATTERY_CHOICES_FILENAME
DataSet.DEFAULT_CACHE_DIRECTORY
DataSet.GITHUB_ACCOUNT
DataSet.GITHUB_API_CONTENT_URL
DataSet.PV_CHOICES_FILENAME
DataSet.REPOSITORY_DATA_DATASETS_PATH
DataSet.REPOSITORY_DATA_MISC_PATH
DataSet.REPOSITORY_DATA_PATH
DataSet.REPOSITORY_NAME
DataSet.REPOSITORY_TAG
DataSet.cache_directory
DataSet.clear_cache()
DataSet.datasets_path
DataSet.get_battery_sizing_data()
DataSet.get_dataset()
DataSet.get_dataset_names()
DataSet.get_github_contents()
DataSet.get_pv_sizing_data()
DataSet.get_requests_session()
DataSet.get_schema()
DataSet.github_account
DataSet.logging_level
DataSet.misc_path
DataSet.repository
DataSet.tag
ElectricVehicleSimulation
ElectricVehicleSimulation.electric_vehicle_charger_state
ElectricVehicleSimulation.charger
ElectricVehicleSimulation.electric_vehicle_departure_time
ElectricVehicleSimulation.electric_vehicle_required_soc_departure
ElectricVehicleSimulation.electric_vehicle_estimated_arrival_time
ElectricVehicleSimulation.electric_vehicle_estimated_soc_arrival
EnergySimulation
LogisticRegressionOccupantParameters
Pricing
TimeSeriesData
Weather
get_settings()
- citylearn.dynamics module
- citylearn.electric_vehicle module
ElectricVehicle
ElectricVehicle.action_metadata
ElectricVehicle.action_space
ElectricVehicle.active_actions
ElectricVehicle.active_observations
ElectricVehicle.adjust_electric_vehicle_soc_on_system_connection()
ElectricVehicle.autosize_battery()
ElectricVehicle.battery
ElectricVehicle.electric_vehicle_simulation
ElectricVehicle.estimate_action_space()
ElectricVehicle.estimate_observation_space()
ElectricVehicle.estimate_observation_space_limits()
ElectricVehicle.get_periodic_observation_metadata()
ElectricVehicle.min_battery_soc
ElectricVehicle.name
ElectricVehicle.next_time_step()
ElectricVehicle.observation_metadata
ElectricVehicle.observation_space
ElectricVehicle.observations()
ElectricVehicle.observations_length()
ElectricVehicle.reset()
- citylearn.electric_vehicle_charger module
Charger
Charger.associate_incoming_car()
Charger.available_nominal_power
Charger.charge_efficiency_curve
Charger.charger_id
Charger.charger_type
Charger.connected_electric_vehicle
Charger.disassociate_incoming_car()
Charger.discharge_efficiency_curve
Charger.efficiency
Charger.electricity_consumption
Charger.incoming_electric_vehicle
Charger.max_charging_power
Charger.max_discharging_power
Charger.min_charging_power
Charger.min_discharging_power
Charger.next_time_step()
Charger.nominal_power
Charger.past_charging_action_values
Charger.past_connected_evs
Charger.plug_car()
Charger.reset()
Charger.unplug_car()
Charger.update_connected_electric_vehicle_soc()
- citylearn.energy_model module
Battery
Battery.autosize()
Battery.capacity
Battery.capacity_history
Battery.capacity_loss_coefficient
Battery.capacity_power_curve
Battery.charge()
Battery.degrade()
Battery.degraded_capacity
Battery.depth_of_discharge
Battery.efficiency
Battery.efficiency_history
Battery.get_current_efficiency()
Battery.get_max_input_power()
Battery.get_max_output_power()
Battery.get_metadata()
Battery.initial_soc
Battery.power_efficiency_curve
Battery.reset()
Battery.set_ad_hoc_charge()
Device
ElectricDevice
ElectricHeater
HeatPump
PV
StorageDevice
StorageDevice.autosize()
StorageDevice.capacity
StorageDevice.charge()
StorageDevice.efficiency
StorageDevice.energy_balance
StorageDevice.energy_init
StorageDevice.get_metadata()
StorageDevice.initial_soc
StorageDevice.loss_coefficient
StorageDevice.reset()
StorageDevice.round_trip_efficiency
StorageDevice.set_energy_balance()
StorageDevice.soc
StorageTank
- citylearn.occupant module
- citylearn.power_outage module
- citylearn.preprocessing module
- citylearn.reward_function module
ComfortReward
IndependentSACReward
MARL
RewardFunction
SolarPenaltyAndComfortReward
SolarPenaltyReward
V2GPenaltyReward
V2GPenaltyReward.calculate()
V2GPenaltyReward.calculate_ev_penalty()
V2GPenaltyReward.community_weight
V2GPenaltyReward.energy_transfer_bonus
V2GPenaltyReward.peak_penalty_weight
V2GPenaltyReward.peak_percentage_threshold
V2GPenaltyReward.penalty_battery_limits
V2GPenaltyReward.penalty_no_car_charging
V2GPenaltyReward.penalty_soc_under_5_10
V2GPenaltyReward.ramping_penalty_weight
V2GPenaltyReward.ramping_percentage_threshold
V2GPenaltyReward.reward_close_soc
V2GPenaltyReward.reward_extra_self_production
V2GPenaltyReward.reward_self_ev_consumption
V2GPenaltyReward.window_size
- citylearn.rl module
- citylearn.utilities module
- citylearn.wrappers module
ClippedObservationWrapper
DiscreteActionWrapper
DiscreteObservationWrapper
DiscreteSpaceWrapper
NormalizedActionWrapper
NormalizedObservationWrapper
NormalizedSpaceWrapper
RLlibMultiAgentActionWrapper
RLlibMultiAgentEnv
RLlibMultiAgentObservationWrapper
RLlibMultiAgentRewardWrapper
RLlibSingleAgentWrapper
StableBaselines3ActionWrapper
StableBaselines3ObservationWrapper
StableBaselines3RewardWrapper
StableBaselines3Wrapper
TabularQLearningActionWrapper
TabularQLearningObservationWrapper
TabularQLearningWrapper