DataCenter

The DataCenter model holds data center specific data for each data center that is part of a Project (which may or may not be financed)

DataCenter.DataCenter(**kwargs)

The Data Center Asset model holds data center specific data

DataCenter.DataCenterCampus(**kwargs)

The Data Center Campus model allows compiling campus-wide information for multiple adjacent data centers

The model acts as a collection. If a campus of data centers is not resolved into individual facilities, then it should be entered as a single data center

class portfolio.DataCenter.DataCenter(*args, **kwargs)

The Data Center Asset model holds data center specific data

exception DoesNotExist
exception MultipleObjectsReturned
aggregation_type

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

asset_class

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

asset_ghg_emissions

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

asset_water_usage

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

campus

Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.

In the example:

class Child(Model):
    parent = ForeignKey(Parent, related_name='children')

Child.parent is a ForwardManyToOneDescriptor instance.

campus_id
country

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

county

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

county_id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

creation_date

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

datacenter_id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

datacenter_location
datacenter_name

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

date_of_commissioning

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

electricity_consumption

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

embedded_water_usage

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

get_absolute_url()
get_aggregation_type_display(*, field=<django.db.models.fields.IntegerField: aggregation_type>)
get_asset_class_display(*, field=<django.db.models.fields.IntegerField: asset_class>)
get_next_by_creation_date(*, field=<django.db.models.fields.DateTimeField: creation_date>, is_next=True, **kwargs)
get_next_by_last_change_date(*, field=<django.db.models.fields.DateTimeField: last_change_date>, is_next=True, **kwargs)
get_previous_by_creation_date(*, field=<django.db.models.fields.DateTimeField: creation_date>, is_next=False, **kwargs)
get_previous_by_last_change_date(*, field=<django.db.models.fields.DateTimeField: last_change_date>, is_next=False, **kwargs)
get_surface_area_units_display(*, field=<django.db.models.fields.IntegerField: surface_area_units>)
get_water_volume_units_display(*, field=<django.db.models.fields.IntegerField: water_volume_units>)
grid_carbon_intensity

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

grid_water_intensity

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

last_change_date

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

notes

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

number_of_floors

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

objects = <django.db.models.manager.Manager object>
operator

Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.

In the example:

class Child(Model):
    parent = ForeignKey(Parent, related_name='children')

Child.parent is a ForwardManyToOneDescriptor instance.

operator_id
portfolio

Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.

In the example:

class Child(Model):
    parent = ForeignKey(Parent, related_name='children')

Child.parent is a ForwardManyToOneDescriptor instance.

portfolio_id
power_usage_effectiveness

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

prov_electricity_consumption

Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.

In the example:

class Child(Model):
    parent = ForeignKey(Parent, related_name='children')

Child.parent is a ForwardManyToOneDescriptor instance.

prov_electricity_consumption_id
prov_ghg_emissions

Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.

In the example:

class Child(Model):
    parent = ForeignKey(Parent, related_name='children')

Child.parent is a ForwardManyToOneDescriptor instance.

prov_ghg_emissions_id
prov_grid_carbon_intensity

Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.

In the example:

class Child(Model):
    parent = ForeignKey(Parent, related_name='children')

Child.parent is a ForwardManyToOneDescriptor instance.

prov_grid_carbon_intensity_id
prov_grid_water_intensity

Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.

In the example:

class Child(Model):
    parent = ForeignKey(Parent, related_name='children')

Child.parent is a ForwardManyToOneDescriptor instance.

prov_grid_water_intensity_id
prov_operator

Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.

In the example:

class Child(Model):
    parent = ForeignKey(Parent, related_name='children')

Child.parent is a ForwardManyToOneDescriptor instance.

prov_operator_id
prov_pue

Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.

In the example:

class Child(Model):
    parent = ForeignKey(Parent, related_name='children')

Child.parent is a ForwardManyToOneDescriptor instance.

prov_pue_id
prov_surface_area

Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.

In the example:

class Child(Model):
    parent = ForeignKey(Parent, related_name='children')

Child.parent is a ForwardManyToOneDescriptor instance.

prov_surface_area_id
prov_water_usage

Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.

In the example:

class Child(Model):
    parent = ForeignKey(Parent, related_name='children')

Child.parent is a ForwardManyToOneDescriptor instance.

prov_water_usage_id
prov_wue

Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.

In the example:

class Child(Model):
    parent = ForeignKey(Parent, related_name='children')

Child.parent is a ForwardManyToOneDescriptor instance.

prov_wue_id
snapshot

Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.

In the example:

class Child(Model):
    parent = ForeignKey(Parent, related_name='children')

Child.parent is a ForwardManyToOneDescriptor instance.

snapshot_id
state

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

state_abb

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

state_id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

surface_area

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

surface_area_units

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

water_usage_effectiveness

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

water_volume_units

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

class portfolio.DataCenter.DataCenterCampus(*args, **kwargs)

The Data Center Campus model allows compiling campus-wide information for multiple adjacent data centers

The model acts as a collection. If a campus of data centers is not resolved into individual facilities, then it should be entered as a single data center

exception DoesNotExist
exception MultipleObjectsReturned
address

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

aggregation_type

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

area_type

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

asset_water_usage

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

campus_name

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

country

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

county

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

county_id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

creation_date

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

datacenter_set

Accessor to the related objects manager on the reverse side of a many-to-one relation.

In the example:

class Child(Model):
    parent = ForeignKey(Parent, related_name='children')

Parent.children is a ReverseManyToOneDescriptor instance.

Most of the implementation is delegated to a dynamically defined manager class built by create_forward_many_to_many_manager() defined below.

electricity_consumption

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

embedded_water_usage

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

gas_consumption

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

get_absolute_url()
get_aggregation_type_display(*, field=<django.db.models.fields.IntegerField: aggregation_type>)
get_area_type_display(*, field=<django.db.models.fields.IntegerField: area_type>)
get_next_by_creation_date(*, field=<django.db.models.fields.DateTimeField: creation_date>, is_next=True, **kwargs)
get_next_by_last_change_date(*, field=<django.db.models.fields.DateTimeField: last_change_date>, is_next=True, **kwargs)
get_previous_by_creation_date(*, field=<django.db.models.fields.DateTimeField: creation_date>, is_next=False, **kwargs)
get_previous_by_last_change_date(*, field=<django.db.models.fields.DateTimeField: last_change_date>, is_next=False, **kwargs)
get_surface_area_units_display(*, field=<django.db.models.fields.IntegerField: surface_area_units>)
get_water_volume_units_display(*, field=<django.db.models.fields.IntegerField: water_volume_units>)
grid_carbon_intensity

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

grid_water_intensity

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

last_change_date

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

notes

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

objects = <django.db.models.manager.Manager object>
operator

Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.

In the example:

class Child(Model):
    parent = ForeignKey(Parent, related_name='children')

Child.parent is a ForwardManyToOneDescriptor instance.

operator_id
portfolio

Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.

In the example:

class Child(Model):
    parent = ForeignKey(Parent, related_name='children')

Child.parent is a ForwardManyToOneDescriptor instance.

portfolio_id
power_usage_effectiveness

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

scope1_ghg_emissions

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

scope2_ghg_emissions

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

snapshot

Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.

In the example:

class Child(Model):
    parent = ForeignKey(Parent, related_name='children')

Child.parent is a ForwardManyToOneDescriptor instance.

snapshot_id
state

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

state_abb

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

state_id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

surface_area

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

surface_area_units

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

water_usage_effectiveness

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

water_volume_units

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.