From eb7e38859bd26abf9fc1263d4b2e6f9ff1efe393 Mon Sep 17 00:00:00 2001 From: Anis Koubaa <mohamed.koubaa@kit.edu> Date: Tue, 28 Jan 2025 14:15:34 +0100 Subject: [PATCH] construct target metadata using pydantic model. --- .../oep_access/excel_sheet_adapter.py | 27 +- .../components/oep_access/oemeta.py | 5 - .../latest/build_source/schemas/fields.py | 7 +- .../latest/build_source/schemas/provenance.py | 2 +- .../oep_access/oemeta/latest/example.json | 16 +- .../oep_access/oemeta/target_meta.py | 97 + .../components/oep_access/settings.py | 5 + .../oep_access/table_as_current_meta.json | 1949 +++++++++++++++++ .../table_as_current_meta_wizard.json | 931 ++++++++ .../oep_access/table_as_on_oep.json | 1428 +++++++++++- .../components/oep_access/upload_LLEC.py | 181 +- services/backend_regimo/data/LLEC_Data | 2 +- 12 files changed, 4448 insertions(+), 202 deletions(-) delete mode 100644 services/backend_regimo/components/oep_access/oemeta.py create mode 100644 services/backend_regimo/components/oep_access/oemeta/target_meta.py create mode 100644 services/backend_regimo/components/oep_access/table_as_current_meta.json create mode 100644 services/backend_regimo/components/oep_access/table_as_current_meta_wizard.json diff --git a/services/backend_regimo/components/oep_access/excel_sheet_adapter.py b/services/backend_regimo/components/oep_access/excel_sheet_adapter.py index 79d8bdc..e3ba411 100644 --- a/services/backend_regimo/components/oep_access/excel_sheet_adapter.py +++ b/services/backend_regimo/components/oep_access/excel_sheet_adapter.py @@ -40,7 +40,7 @@ class ExcelSheetAdapter: except FileNotFoundError as error: raise SourceNotFound(error) - sheet_names = self.excel_file.sheet_names + self.sheet_names = sheet_names = self.excel_file.sheet_names if data_sheet_name is not None: if data_sheet_name not in sheet_names: raise SourceNotFound() @@ -62,7 +62,7 @@ class ExcelSheetAdapter: print(f"This is df-serialization: \n{self.df}") print(f"This is dfm-serialization: \n{self.dfm}") - def get_header(self) -> object: + def get_header(self): """ Read column names from excel file. Compose the header in a compatible way to oep. @@ -78,7 +78,7 @@ class ExcelSheetAdapter: table_schema_output["columns"].append(json.loads(json_col)) return dict(table_schema_output) - def get_data(self) -> object: + def get_data(self): """ Export data from dataframe to a json object. :return: @@ -86,10 +86,25 @@ class ExcelSheetAdapter: json_data = self.df.to_json(orient='records', indent=4, date_format='iso') return json.loads(json_data) - def get_metadata(self) -> object: + def get_metadata_header(self): """ - Export metadata from dataframe to a json object. + Export metadata header from dataframe to a json object. :return: """ - json_metadata = self.dfm.to_json(orient='table') + json_metadata = self.dfm.to_json(orient='records', indent=4, date_format='iso') + return json.loads(json_metadata) + + def get_metadata_section(self, section_name: str): + """ + Export metadata from dataframe to a json. + :return: + """ + if section_name in self.sheet_names: + mdf_section = pd.read_excel(self.link, engine='openpyxl', sheet_name=section_name, index_col=0) + else: + raise SourceNotFound("there is no sheet with the name: " + section_name) + + # result_dict = pd.Series(mdf_section.first_or_single.values, index=mdf_section.Property).to_dict() + + json_metadata = mdf_section.to_json(indent=4, date_format='iso') return json.loads(json_metadata) diff --git a/services/backend_regimo/components/oep_access/oemeta.py b/services/backend_regimo/components/oep_access/oemeta.py deleted file mode 100644 index f0f4315..0000000 --- a/services/backend_regimo/components/oep_access/oemeta.py +++ /dev/null @@ -1,5 +0,0 @@ -from pydantic import BaseModel - - -class OEMeta(BaseModel): - pass diff --git a/services/backend_regimo/components/oep_access/oemeta/latest/build_source/schemas/fields.py b/services/backend_regimo/components/oep_access/oemeta/latest/build_source/schemas/fields.py index 41e09d2..101af76 100644 --- a/services/backend_regimo/components/oep_access/oemeta/latest/build_source/schemas/fields.py +++ b/services/backend_regimo/components/oep_access/oemeta/latest/build_source/schemas/fields.py @@ -1,4 +1,4 @@ -# generated by datamodel-codegen: +# generated by data-model-codegen: # filename: fields.json # timestamp: 2025-01-27T15:02:42+00:00 @@ -16,7 +16,7 @@ class IsAboutItem(BaseModel): examples=['wind energy converting unit'], title='Is About Name', ) - field_id: Optional[AnyUrl] = Field( + field_id: Optional[AnyUrl | None | str] = Field( None, alias='@id', description='The path of the ontology term (IRI).', @@ -50,7 +50,8 @@ class ValueReferenceItem(BaseModel): class FieldModel(BaseModel): name: Optional[str] = Field( ..., - description='The name of the field. The name may only consist of lowercase alphanumeric characters or underscores. It must not begin with a number or an underscore.', + description='The name of the field. The name may only consist of lowercase alphanumeric characters or ' + 'underscores. It must not begin with a number or an underscore.', examples=['year'], title='Column Name', ) diff --git a/services/backend_regimo/components/oep_access/oemeta/latest/build_source/schemas/provenance.py b/services/backend_regimo/components/oep_access/oemeta/latest/build_source/schemas/provenance.py index a714d30..8857476 100644 --- a/services/backend_regimo/components/oep_access/oemeta/latest/build_source/schemas/provenance.py +++ b/services/backend_regimo/components/oep_access/oemeta/latest/build_source/schemas/provenance.py @@ -34,7 +34,7 @@ class Contributor(BaseModel): description='An array describing the roles of the contributor.', title='Roles', ) - date: Optional[date] = Field( + date_: Optional[date] = Field( None, description='The date of the final contribution. Date Format is ISO 8601.', examples=['2024-10-21'], diff --git a/services/backend_regimo/components/oep_access/oemeta/latest/example.json b/services/backend_regimo/components/oep_access/oemeta/latest/example.json index 409baa2..9d57664 100644 --- a/services/backend_regimo/components/oep_access/oemeta/latest/example.json +++ b/services/backend_regimo/components/oep_access/oemeta/latest/example.json @@ -1,7 +1,7 @@ { "name": "oep_oemetadata", "title": "OEP OEMetadata", - "description": "A collection of tables for the OEMetadata examples.", + "description": "A dataset for the OEMetadata examples.", "id": "https://databus.openenergyplatform.org/oeplatform/reference", "resources": [ { @@ -22,7 +22,7 @@ "subject": [ { "name": "energy", - "path": "https://openenergyplatform.org/ontology/oeo/OEO_00000150" + "@id": "https://openenergyplatform.org/ontology/oeo/OEO_00000150" } ], "keywords": [ @@ -85,14 +85,14 @@ { "title": "IPCC Sixth Assessment Report (AR6) - Climate Change 2023 - Synthesis Report", "authors": [ - "Hoesung Lee", + "Lang Lee", "José Romero", "The Core Writing Team" ], "description": "A Report of the Intergovernmental Panel on Climate Change.", "publicationYear": "2023", - "path": "https://www.ipcc.ch/report/ar6/syr/downloads/report/IPCC_AR6_SYR_FullVolume.pdf", - "licenses": [ + "@id": "https://www.ipcc.ch/report/ar6/syr/downloads/report/IPCC_AR6_SYR_FullVolume.pdf", + "sourceLicenses": [ { "name": "ODbL-1.0", "title": "Open Data Commons Open Database License 1.0", @@ -124,7 +124,7 @@ ], "date": "2024-10-21", "object": "data and metadata", - "comment": "Add general context." + "comment": "Add metadata example." } ], "type": "table", @@ -141,14 +141,14 @@ "isAbout": [ { "name": "wind energy converting unit", - "path": "https://openenergyplatform.org/ontology/oeo/OEO_00000044" + "@id": "https://openenergyplatform.org/ontology/oeo/OEO_00000044" } ], "valueReference": [ { "value": "onshore", "name": "onshore wind farm", - "path": "https://openenergyplatform.org/ontology/oeo/OEO_00000311" + "@id": "https://openenergyplatform.org/ontology/oeo/OEO_00000311" } ] } diff --git a/services/backend_regimo/components/oep_access/oemeta/target_meta.py b/services/backend_regimo/components/oep_access/oemeta/target_meta.py new file mode 100644 index 0000000..3e4b98f --- /dev/null +++ b/services/backend_regimo/components/oep_access/oemeta/target_meta.py @@ -0,0 +1,97 @@ +from backend_regimo.components.oep_access.oemeta.latest.build_source.schemas.linked_data import Model as LinkedDataModel +from backend_regimo.components.oep_access.oemeta.latest.build_source.schemas.general import Model as GeneralModel +from backend_regimo.components.oep_access.oemeta.latest.build_source.schemas.context import Model as ContextModel +from backend_regimo.components.oep_access.oemeta.latest.build_source.schemas.spatial import Model as SpatialModel +from backend_regimo.components.oep_access.oemeta.latest.build_source.schemas.temporal import Model as TemporalModel +from backend_regimo.components.oep_access.oemeta.latest.build_source.schemas.sources import Model as SourceModel +from backend_regimo.components.oep_access.oemeta.latest.build_source.schemas.licenses import Model as LicenseModel +from backend_regimo.components.oep_access.oemeta.latest.build_source.schemas.provenance import Model as ProvenanceModel +from backend_regimo.components.oep_access.oemeta.latest.build_source.schemas.fields import (Model as FieldsModel, + FieldModel, + IsAboutItem, + ValueReferenceItem, + Schema) +import json +from pydantic.networks import AnyUrl +from pydantic import ValidationError + + +class OEMeta: + def __init__(self, model_path, schema_path): + super().__init__() + self.model_path = model_path + self.schema_path = schema_path + self.metadata = {} + self.linkedData = LinkedDataModel() + self.general = GeneralModel(name='general_name') + self.context = ContextModel() + self.spatial = SpatialModel() + self.temporal = TemporalModel() + self.sources = SourceModel() + self.licenses = LicenseModel() + self.provenance = ProvenanceModel() + self.resource = FieldsModel() + self.resource.schema_ = Schema(primaryKey=[]) + self.resource.schema_.fields = [] + + def merge_field_from_meta_source(self, meta_source): + """ + append a new field to the target meta. + :param meta_source: + """ + is_about_url = meta_source["isAbout.path"] + value_reference_url = meta_source["valueReference.path"] + + # The first iteration is marked by the length of the fields array + if len(self.resource.schema_.fields) == 0: + self.resource.type = 'table' + self.resource.format = 'xlsx' + self.resource.encoding = 'utf-8' + + current_is_about = IsAboutItem(name=meta_source["isAbout.name"]) + current_is_about.field_id = is_about_url # AnyUrl(url=is_about_url) + + current_value_reference = ValueReferenceItem(name=meta_source["valueReference.name"]) + current_value_reference.value = meta_source["valueReference.value"] + current_value_reference.field_id = value_reference_url # AnyUrl(url=value_reference_url) + + current_field = FieldModel(name=meta_source["name"], type=meta_source["type"], nullable=True) + current_field.isAbout = [current_is_about] + current_field.valueReference = current_value_reference + current_field.unit = meta_source["unit"] + self.resource.schema_.fields.append(current_field) + + def merge_general_from_meta_source(self, general_metadata): + name = general_metadata["first_or_single"]["name"] + description = general_metadata["first_or_single"]["description"] + publication_date = general_metadata["first_or_single"]["publicationDate"] + + self.general.name = name + self.general.description = description + self.general.publicationDate = publication_date + + def merge_licenses_from_meta_source(self, licenses_metadata): + pass + + def merge_provenance_from_meta_source(self, provenance_metadata): + pass + + def merge_spatial_from_meta_source(self, spatial_metadata): + pass + + def merge_temporal_from_meta_source(self, temporal_metadata): + pass + + def get_metadata(self, metadata_target_path="table_as_current_meta.json"): + # self.metadata["linkedData"] = self.linkedData.model_dump() + self.metadata["general"] = self.general.model_dump() + self.metadata["context"] = self.context.model_dump() + self.metadata["spatial"] = self.spatial.model_dump() + self.metadata["temporal"] = self.temporal.model_dump() + self.metadata["sources"] = self.sources.model_dump() + self.metadata["licenses"] = self.licenses.model_dump() + self.metadata["provenance"] = self.provenance.model_dump() + self.metadata["resource"] = self.resource.model_dump() + + with open(metadata_target_path, "w") as f: + f.write(json.dumps(self.metadata, indent=4)) diff --git a/services/backend_regimo/components/oep_access/settings.py b/services/backend_regimo/components/oep_access/settings.py index f95f8b2..5ac8060 100644 --- a/services/backend_regimo/components/oep_access/settings.py +++ b/services/backend_regimo/components/oep_access/settings.py @@ -4,6 +4,8 @@ # SPDX-License-Identifier: MIT from pathlib import Path +from random import randint + LOG_FORMAT = "[%(asctime)s %(module)16s %(levelname)7s] %(message)s" @@ -22,3 +24,6 @@ EXAMPLE_PATH = VERSION_PATH / "example.json" PATH_TO_SOURCE = ('/Users/ot2661/Documents/01_dev/aed_pub/regimo/regimo/services/backend_regimo/data' + '/LLEC_Data/dataset_sample_2rows.xlsx') URL_TO_SOURCE = "https://github.com/koubaa-hmc/LLEC_Data/raw/refs/heads/main/dataset_sample_2rows.xlsx" + +TOPIC = "sandbox" +TARGET_TABLE_NAME = f"living_lab_table_{randint(0, 100000)}" diff --git a/services/backend_regimo/components/oep_access/table_as_current_meta.json b/services/backend_regimo/components/oep_access/table_as_current_meta.json new file mode 100644 index 0000000..da91e2f --- /dev/null +++ b/services/backend_regimo/components/oep_access/table_as_current_meta.json @@ -0,0 +1,1949 @@ +{ + "name": "Living Lab Measurements", + "topics": null, + "title": null, + "path": null, + "description": "The table is a collection of measurements done in a Living Lab", + "languages": null, + "subject": null, + "keywords": null, + "publicationDate": "2025-01-28T00:00:00.000", + "embargoPeriod": null, + + "context": { + "context": null + }, + "spatial": { + "spatial": null + }, + "temporal": { + "temporal": null + }, + "sources": { + "sources": null + }, + "licenses": { + "licenses": null + }, + "provenance": { + "contributors": null + }, + "resource": { + "type": "table", + "format": "xlsx", + "encoding": "utf-8", + "schema": { + "fields": [ + { + "name": "t_amb", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "id", + "description": "", + "type": "bigint", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "time", + "description": "", + "type": "timestamp", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "q_sol", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[W/m\u00b2]", + "isAbout": [ + { + "name": "solar radiation", + "field_id": "https://openenergyplatform.org/ontology/oeo/OEO_00020038/" + } + ], + "valueReference": { + "value": "solar radiation", + "name": "solar radiation", + "field_id": "https://openenergyplatform.org/ontology/oeo/OEO_00020038/" + } + }, + { + "name": "rh", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[%]", + "isAbout": [ + { + "name": "relative humidity", + "field_id": null + } + ], + "valueReference": { + "value": "relative humidity", + "name": "relative humidity", + "field_id": null + } + }, + { + "name": "v_wind", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[m/s]", + "isAbout": [ + { + "name": "wind velocity", + "field_id": "http://purl.obolibrary.org/obo/UO_0000060" + } + ], + "valueReference": { + "value": "wind velocity", + "name": "wind velocity", + "field_id": "http://purl.obolibrary.org/obo/UO_0000060" + } + }, + { + "name": "q_hp_sec", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[W]", + "isAbout": [ + { + "name": "power unit", + "field_id": "https://openenergyplatform.org/ontology/oeo/OEO_00000333/" + } + ], + "valueReference": { + "value": "power unit", + "name": "power unit", + "field_id": "https://openenergyplatform.org/ontology/oeo/OEO_00000333/" + } + }, + { + "name": "q_hp_prim", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[W]", + "isAbout": [ + { + "name": "power unit", + "field_id": "https://openenergyplatform.org/ontology/oeo/OEO_00000333/" + } + ], + "valueReference": { + "value": "power unit", + "name": "power unit", + "field_id": "https://openenergyplatform.org/ontology/oeo/OEO_00000333/" + } + }, + { + "name": "t_sup_hp_sec", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "t_ret_hp_sec", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "v_hp_sec", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[m\u00b3/h]", + "isAbout": [ + { + "name": "water flow rate", + "field_id": "https://openenergyplatform.org/ontology/oeo/OEO_00110003/" + } + ], + "valueReference": { + "value": "water flow rate", + "name": "water flow rate", + "field_id": "https://openenergyplatform.org/ontology/oeo/OEO_00110003/" + } + }, + { + "name": "t_sup_hp_prim", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "t_ret_hp_prim", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "v_hp_prim", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[m\u00b3/h]", + "isAbout": [ + { + "name": "Brine flow rate", + "field_id": "http://purl.obolibrary.org/obo/UO_0000270" + } + ], + "valueReference": { + "value": "Brine flow rate", + "name": "Brine flow rate", + "field_id": "http://purl.obolibrary.org/obo/UO_0000270" + } + }, + { + "name": "q_r1", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[W]", + "isAbout": [ + { + "name": "power unit", + "field_id": "https://openenergyplatform.org/ontology/oeo/OEO_00000333/" + } + ], + "valueReference": { + "value": "power unit", + "name": "power unit", + "field_id": "https://openenergyplatform.org/ontology/oeo/OEO_00000333/" + } + }, + { + "name": "q_r2", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[W]", + "isAbout": [ + { + "name": "power unit", + "field_id": "https://openenergyplatform.org/ontology/oeo/OEO_00000333/" + } + ], + "valueReference": { + "value": "power unit", + "name": "power unit", + "field_id": "https://openenergyplatform.org/ontology/oeo/OEO_00000333/" + } + }, + { + "name": "q_r3", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[W]", + "isAbout": [ + { + "name": "power unit", + "field_id": "https://openenergyplatform.org/ontology/oeo/OEO_00000333/" + } + ], + "valueReference": { + "value": "power unit", + "name": "power unit", + "field_id": "https://openenergyplatform.org/ontology/oeo/OEO_00000333/" + } + }, + { + "name": "q_r4_1", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[W]", + "isAbout": [ + { + "name": "power unit", + "field_id": "https://openenergyplatform.org/ontology/oeo/OEO_00000333/" + } + ], + "valueReference": { + "value": "power unit", + "name": "power unit", + "field_id": "https://openenergyplatform.org/ontology/oeo/OEO_00000333/" + } + }, + { + "name": "q_r4_2", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[W]", + "isAbout": [ + { + "name": "power unit", + "field_id": "https://openenergyplatform.org/ontology/oeo/OEO_00000333/" + } + ], + "valueReference": { + "value": "power unit", + "name": "power unit", + "field_id": "https://openenergyplatform.org/ontology/oeo/OEO_00000333/" + } + }, + { + "name": "q_r5_1", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[W]", + "isAbout": [ + { + "name": "power unit", + "field_id": "https://openenergyplatform.org/ontology/oeo/OEO_00000333/" + } + ], + "valueReference": { + "value": "power unit", + "name": "power unit", + "field_id": "https://openenergyplatform.org/ontology/oeo/OEO_00000333/" + } + }, + { + "name": "q_r5_2", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[W]", + "isAbout": [ + { + "name": "power unit", + "field_id": "https://openenergyplatform.org/ontology/oeo/OEO_00000333/" + } + ], + "valueReference": { + "value": "power unit", + "name": "power unit", + "field_id": "https://openenergyplatform.org/ontology/oeo/OEO_00000333/" + } + }, + { + "name": "q_b", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[W]", + "isAbout": [ + { + "name": "power unit", + "field_id": "https://openenergyplatform.org/ontology/oeo/OEO_00000333/" + } + ], + "valueReference": { + "value": "power unit", + "name": "power unit", + "field_id": "https://openenergyplatform.org/ontology/oeo/OEO_00000333/" + } + }, + { + "name": "q_k", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[W]", + "isAbout": [ + { + "name": "power unit", + "field_id": "https://openenergyplatform.org/ontology/oeo/OEO_00000333/" + } + ], + "valueReference": { + "value": "power unit", + "name": "power unit", + "field_id": "https://openenergyplatform.org/ontology/oeo/OEO_00000333/" + } + }, + { + "name": "q_c", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[W]", + "isAbout": [ + { + "name": "power unit", + "field_id": "https://openenergyplatform.org/ontology/oeo/OEO_00000333/" + } + ], + "valueReference": { + "value": "power unit", + "name": "power unit", + "field_id": "https://openenergyplatform.org/ontology/oeo/OEO_00000333/" + } + }, + { + "name": "t_sup_r1", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "t_ret_r1", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "v_r1", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[m\u00b3/h]", + "isAbout": [ + { + "name": "water flow rate", + "field_id": "https://openenergyplatform.org/ontology/oeo/OEO_00110003/" + } + ], + "valueReference": { + "value": "water flow rate", + "name": "water flow rate", + "field_id": "https://openenergyplatform.org/ontology/oeo/OEO_00110003/" + } + }, + { + "name": "t_sup_r2", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "t_ret_r2", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "v_r2", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[m\u00b3/h]", + "isAbout": [ + { + "name": "water flow rate", + "field_id": "https://openenergyplatform.org/ontology/oeo/OEO_00110003/" + } + ], + "valueReference": { + "value": "water flow rate", + "name": "water flow rate", + "field_id": "https://openenergyplatform.org/ontology/oeo/OEO_00110003/" + } + }, + { + "name": "t_sup_r3", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "t_ret_r3", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "v_r3", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[m\u00b3/h]", + "isAbout": [ + { + "name": "water flow rate", + "field_id": "https://openenergyplatform.org/ontology/oeo/OEO_00110003/" + } + ], + "valueReference": { + "value": "water flow rate", + "name": "water flow rate", + "field_id": "https://openenergyplatform.org/ontology/oeo/OEO_00110003/" + } + }, + { + "name": "t_sup_r4_1", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "t_ret_r4_1", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "v_r4_1", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[m\u00b3/h]", + "isAbout": [ + { + "name": "water flow rate", + "field_id": "https://openenergyplatform.org/ontology/oeo/OEO_00110003/" + } + ], + "valueReference": { + "value": "water flow rate", + "name": "water flow rate", + "field_id": "https://openenergyplatform.org/ontology/oeo/OEO_00110003/" + } + }, + { + "name": "t_sup_r4_2", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "t_ret_r4_2", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "v_r4_2", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[m\u00b3/h]", + "isAbout": [ + { + "name": "water flow rate", + "field_id": "https://openenergyplatform.org/ontology/oeo/OEO_00110003/" + } + ], + "valueReference": { + "value": "water flow rate", + "name": "water flow rate", + "field_id": "https://openenergyplatform.org/ontology/oeo/OEO_00110003/" + } + }, + { + "name": "t_sup_r5_1", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "t_ret_r5_1", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "v_r5_1", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[m\u00b3/h]", + "isAbout": [ + { + "name": "water flow rate", + "field_id": "https://openenergyplatform.org/ontology/oeo/OEO_00110003/" + } + ], + "valueReference": { + "value": "water flow rate", + "name": "water flow rate", + "field_id": "https://openenergyplatform.org/ontology/oeo/OEO_00110003/" + } + }, + { + "name": "t_sup_r5_2", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "t_ret_r5_2", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "v_r5_2", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[m\u00b3/h]", + "isAbout": [ + { + "name": "water flow rate", + "field_id": "https://openenergyplatform.org/ontology/oeo/OEO_00110003/" + } + ], + "valueReference": { + "value": "water flow rate", + "name": "water flow rate", + "field_id": "https://openenergyplatform.org/ontology/oeo/OEO_00110003/" + } + }, + { + "name": "t_sup_b", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "t_ret_b", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "v_b", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[m\u00b3/h]", + "isAbout": [ + { + "name": "water flow rate", + "field_id": "https://openenergyplatform.org/ontology/oeo/OEO_00110003/" + } + ], + "valueReference": { + "value": "water flow rate", + "name": "water flow rate", + "field_id": "https://openenergyplatform.org/ontology/oeo/OEO_00110003/" + } + }, + { + "name": "t_sup_k", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "t_ret_k", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "v_k", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[m\u00b3/h]", + "isAbout": [ + { + "name": "water flow rate", + "field_id": "https://openenergyplatform.org/ontology/oeo/OEO_00110003/" + } + ], + "valueReference": { + "value": "water flow rate", + "name": "water flow rate", + "field_id": "https://openenergyplatform.org/ontology/oeo/OEO_00110003/" + } + }, + { + "name": "t_sup_c", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "t_ret_c", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "v_c", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[m\u00b3/h]", + "isAbout": [ + { + "name": "water flow rate", + "field_id": "https://openenergyplatform.org/ontology/oeo/OEO_00110003/" + } + ], + "valueReference": { + "value": "water flow rate", + "name": "water flow rate", + "field_id": "https://openenergyplatform.org/ontology/oeo/OEO_00110003/" + } + }, + { + "name": "t_r1", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "t_r1_set", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "t_r2", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "t_r2_set", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "t_r3", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "t_r3_set", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "t_r4", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "t_r4_set", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "t_r5", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "t_r5_set", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "t_b", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "t_b_set", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "t_k", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "t_k_set", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "t_c", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "t_c_set", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "t_u1_1", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "t_u1_5", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "t_u1_10", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "t_u1_18", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "t_u1_27", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "t_u1_37", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "t_u2_1", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "t_u2_5", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "t_u2_10", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "t_u2_18", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "t_u2_27", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "t_u2_37", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "t_u3_1", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "t_u3_5", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "t_u3_10", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "t_u3_27", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "t_u3_37", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "t_wl1_1", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "t_wl1_5", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "t_wl1_10", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "t_wl2_1", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "t_wl2_5", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "t_wl2_10", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "t_wl3_1", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "t_wl3_5", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "t_wl3_10", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "t_s_1", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "t_s_10", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "t_s_18", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "t_wl4_1", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "t_wl4_5", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "t_wl4_10", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "t_wl4_18", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[\u00b0C]", + "isAbout": [ + { + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + ], + "valueReference": { + "value": "temperture", + "name": "temperture", + "field_id": "http://openenergy-platform.org/ontology/oeo/OEO_00010453" + } + }, + { + "name": "p_g", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[W]", + "isAbout": [ + { + "name": "power unit", + "field_id": "https://openenergyplatform.org/ontology/oeo/OEO_00000333/" + } + ], + "valueReference": { + "value": "power unit", + "name": "power unit", + "field_id": "https://openenergyplatform.org/ontology/oeo/OEO_00000333/" + } + }, + { + "name": "p_pv", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[W]", + "isAbout": [ + { + "name": "power unit", + "field_id": "https://openenergyplatform.org/ontology/oeo/OEO_00000333/" + } + ], + "valueReference": { + "value": "power unit", + "name": "power unit", + "field_id": "https://openenergyplatform.org/ontology/oeo/OEO_00000333/" + } + }, + { + "name": "p_hp", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[W]", + "isAbout": [ + { + "name": "power unit", + "field_id": "https://openenergyplatform.org/ontology/oeo/OEO_00000333/" + } + ], + "valueReference": { + "value": "power unit", + "name": "power unit", + "field_id": "https://openenergyplatform.org/ontology/oeo/OEO_00000333/" + } + }, + { + "name": "p_k", + "description": null, + "type": "Number", + "nullable": true, + "unit": "[W]", + "isAbout": [ + { + "name": "power unit", + "field_id": "https://openenergyplatform.org/ontology/oeo/OEO_00000333/" + } + ], + "valueReference": { + "value": "power unit", + "name": "power unit", + "field_id": "https://openenergyplatform.org/ontology/oeo/OEO_00000333/" + } + } + ], + "primaryKey": [], + "foreignKeys": null + }, + "dialect": null + } +} \ No newline at end of file diff --git a/services/backend_regimo/components/oep_access/table_as_current_meta_wizard.json b/services/backend_regimo/components/oep_access/table_as_current_meta_wizard.json new file mode 100644 index 0000000..f4805fb --- /dev/null +++ b/services/backend_regimo/components/oep_access/table_as_current_meta_wizard.json @@ -0,0 +1,931 @@ +{ + "name": "wizard name", + "title": "", + "id": "https://openenergyplatform.org/dataedit/view/sandbox/living_lab_table_71516", + "description": "", + "subject": [], + "language": [], + "keywords": [], + "publicationDate": "", + "context": { + "homepage": "", + "documentation": "", + "sourceCode": "", + "contact": "", + "grantNo": "", + "fundingAgency": "", + "fundingAgencyLogo": "", + "publisherLogo": "" + }, + "spatial": { + "location": "", + "extent": "", + "resolution": "" + }, + "temporal": { + "referenceDate": "", + "timeseries": [] + }, + "sources": [], + "licenses": [], + "contributors": [], + "resources": [ + { + "profile": "", + "name": "living_lab_table_71516", + "path": "", + "format": "", + "encoding": "", + "schema": { + "fields": [ + { + "name": "id", + "description": "", + "type": "bigint", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "time", + "description": "", + "type": "timestamp", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_amb", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "q_sol", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "rh", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "v_wind", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "q_hp_sec", + "description": "", + "type": "integer", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "q_hp_prim", + "description": "", + "type": "integer", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_sup_hp_sec", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_ret_hp_sec", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "v_hp_sec", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_sup_hp_prim", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_ret_hp_prim", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "v_hp_prim", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "q_r1", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "q_r2", + "description": "", + "type": "integer", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "q_r3", + "description": "", + "type": "integer", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "q_r4_1", + "description": "", + "type": "integer", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "q_r4_2", + "description": "", + "type": "integer", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "q_r5_1", + "description": "", + "type": "integer", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "q_r5_2", + "description": "", + "type": "integer", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "q_b", + "description": "", + "type": "integer", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "q_k", + "description": "", + "type": "integer", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "q_c", + "description": "", + "type": "integer", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_sup_r1", + "description": "", + "type": "integer", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_ret_r1", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "v_r1", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_sup_r2", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_ret_r2", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "v_r2", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_sup_r3", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_ret_r3", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "v_r3", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_sup_r4_1", + "description": "", + "type": "integer", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_ret_r4_1", + "description": "", + "type": "integer", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "v_r4_1", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_sup_r4_2", + "description": "", + "type": "integer", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_ret_r4_2", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "v_r4_2", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_sup_r5_1", + "description": "", + "type": "integer", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_ret_r5_1", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "v_r5_1", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_sup_r5_2", + "description": "", + "type": "integer", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_ret_r5_2", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "v_r5_2", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_sup_b", + "description": "", + "type": "integer", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_ret_b", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "v_b", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_sup_k", + "description": "", + "type": "integer", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_ret_k", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "v_k", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_sup_c", + "description": "", + "type": "integer", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_ret_c", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "v_c", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_r1", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_r1_set", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_r2", + "description": "", + "type": "integer", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_r2_set", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_r3", + "description": "", + "type": "integer", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_r3_set", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_r4", + "description": "", + "type": "integer", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_r4_set", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_r5", + "description": "", + "type": "integer", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_r5_set", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_b", + "description": "", + "type": "integer", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_b_set", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_k", + "description": "", + "type": "integer", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_k_set", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_c", + "description": "", + "type": "integer", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_c_set", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_u1_1", + "description": "", + "type": "integer", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_u1_5", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_u1_10", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_u1_18", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_u1_27", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_u1_37", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_u2_1", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_u2_5", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_u2_10", + "description": "", + "type": "integer", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_u2_18", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_u2_27", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_u2_37", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_u3_1", + "description": "", + "type": "integer", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_u3_5", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_u3_10", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_u3_27", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_u3_37", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_wl1_1", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_wl1_5", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_wl1_10", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_wl2_1", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_wl2_5", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_wl2_10", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_wl3_1", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_wl3_5", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_wl3_10", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_s_1", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_s_10", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_s_18", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_wl4_1", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_wl4_5", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_wl4_10", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "t_wl4_18", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "p_g", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "p_pv", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "p_hp", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + }, + { + "name": "p_k", + "description": "", + "type": "float", + "isAbout": [], + "valueReference": [], + "unit": "" + } + ], + "primaryKey": [], + "foreignKeys": [] + }, + "dialect": { + "delimiter": "", + "decimalSeparator": "" + } + } + ], + "@context": "", + "@id": "", + "review": { + "path": "", + "badge": "" + }, + "metaMetadata": { + "metadataVersion": "", + "metadataLicense": { + "name": "", + "title": "", + "path": "" + } + }, + "_comment": { + "metadata": "", + "dates": "", + "units": "", + "languages": "", + "licenses": "", + "review": "", + "null": "", + "todo": "" + } +} \ No newline at end of file diff --git a/services/backend_regimo/components/oep_access/table_as_on_oep.json b/services/backend_regimo/components/oep_access/table_as_on_oep.json index e75a58a..d5d8f9d 100644 --- a/services/backend_regimo/components/oep_access/table_as_on_oep.json +++ b/services/backend_regimo/components/oep_access/table_as_on_oep.json @@ -1,124 +1,1312 @@ { - "schema": "sandbox", - "name": "tutorial_example_table_33329", - "columns": { - "id": { - "ordinal_position": 1, - "column_default": "nextval('sandbox.tutorial_example_table_33329_id_seq'::regclass)", - "is_nullable": false, - "data_type": "bigint", - "character_maximum_length": null, - "character_octet_length": null, - "numeric_precision": 64, - "numeric_precision_radix": 2, - "numeric_scale": 0, - "datetime_precision": null, - "interval_type": null, - "interval_precision": null, - "maximum_cardinality": null, - "dtd_identifier": "1", - "is_updatable": true - }, - "name": { - "ordinal_position": 2, - "column_default": null, - "is_nullable": false, - "data_type": "character varying", - "character_maximum_length": 18, - "character_octet_length": 72, - "numeric_precision": null, - "numeric_precision_radix": null, - "numeric_scale": null, - "datetime_precision": null, - "interval_type": null, - "interval_precision": null, - "maximum_cardinality": null, - "dtd_identifier": "2", - "is_updatable": true - }, - "is_active": { - "ordinal_position": 3, - "column_default": null, - "is_nullable": true, - "data_type": "boolean", - "character_maximum_length": null, - "character_octet_length": null, - "numeric_precision": null, - "numeric_precision_radix": null, - "numeric_scale": null, - "datetime_precision": null, - "interval_type": null, - "interval_precision": null, - "maximum_cardinality": null, - "dtd_identifier": "3", - "is_updatable": true - }, - "capacity_mw": { - "ordinal_position": 4, - "column_default": null, - "is_nullable": true, - "data_type": "double precision", - "character_maximum_length": null, - "character_octet_length": null, - "numeric_precision": 53, - "numeric_precision_radix": 2, - "numeric_scale": null, - "datetime_precision": null, - "interval_type": null, - "interval_precision": null, - "maximum_cardinality": null, - "dtd_identifier": "4", - "is_updatable": true - }, - "installation_datetime_utc": { - "ordinal_position": 5, - "column_default": null, - "is_nullable": true, - "data_type": "timestamp without time zone", - "character_maximum_length": null, - "character_octet_length": null, - "numeric_precision": null, - "numeric_precision_radix": null, - "numeric_scale": null, - "datetime_precision": 6, - "interval_type": null, - "interval_precision": null, - "maximum_cardinality": null, - "dtd_identifier": "5", - "is_updatable": true - }, - "location": { - "ordinal_position": 6, - "column_default": null, - "is_nullable": true, - "data_type": "geometry", - "character_maximum_length": null, - "character_octet_length": null, - "numeric_precision": null, - "numeric_precision_radix": null, - "numeric_scale": null, - "datetime_precision": null, - "interval_type": null, - "interval_precision": null, - "maximum_cardinality": null, - "dtd_identifier": "6", - "is_updatable": true - } + "schema": { + "fields": [ + { + "name": "index", + "type": "integer" + }, + { + "name": "name", + "type": "string" + }, + { + "name": "Description", + "type": "string" + }, + { + "name": "type", + "type": "string" + }, + { + "name": "isAbout.name", + "type": "string" + }, + { + "name": "isAbout.path", + "type": "string" + }, + { + "name": "valueReference.value", + "type": "string" + }, + { + "name": "valueReference.name", + "type": "string" + }, + { + "name": "valueReference.path", + "type": "string" + }, + { + "name": "unit", + "type": "string" + } + ], + "primaryKey": [ + "index" + ], + "pandas_version": "1.4.0" }, - "indexed": { - "tutorial_example_table_33329_pkey": { - "indexdef": "CREATE UNIQUE INDEX tutorial_example_table_33329_pkey ON sandbox.tutorial_example_table_33329 USING btree (id)" + "data": [ + { + "index": 0, + "name": "t_amb", + "Description": "Ambient temperature", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" }, - "idx_tutorial_example_table_33329_location": { - "indexdef": "CREATE INDEX idx_tutorial_example_table_33329_location ON sandbox.tutorial_example_table_33329 USING gist (location)" - } - }, - "constraints": { - "tutorial_example_table_33329_pkey": { - "constraint_type": "PRIMARY KEY", - "is_deferrable": "NO", - "initially_deferred": "NO", - "definition": "PRIMARY KEY (id)" + { + "index": 1, + "name": "q_sol", + "Description": "Solar radiation", + "type": "Number", + "isAbout.name": "solar radiation", + "isAbout.path": "https://openenergyplatform.org/ontology/oeo/OEO_00020038/", + "valueReference.value": "solar radiation", + "valueReference.name": "solar radiation", + "valueReference.path": "https://openenergyplatform.org/ontology/oeo/OEO_00020038/", + "unit": "[W/m²]" + }, + { + "index": 2, + "name": "rh", + "Description": "Relative humidity", + "type": "Number", + "isAbout.name": "relative humidity", + "isAbout.path": null, + "valueReference.value": "relative humidity", + "valueReference.name": "relative humidity", + "valueReference.path": null, + "unit": "[%]" + }, + { + "index": 3, + "name": "v_wind", + "Description": "Wind velocity", + "type": "Number", + "isAbout.name": "wind velocity", + "isAbout.path": "http://purl.obolibrary.org/obo/UO_0000060", + "valueReference.value": "wind velocity", + "valueReference.name": "wind velocity", + "valueReference.path": "http://purl.obolibrary.org/obo/UO_0000060", + "unit": "[m/s]" + }, + { + "index": 4, + "name": "q_hp_sec", + "Description": "Heat pump's secondary loop thermal power", + "type": "Number", + "isAbout.name": "power unit", + "isAbout.path": "https://openenergyplatform.org/ontology/oeo/OEO_00000333/", + "valueReference.value": "power unit", + "valueReference.name": "power unit", + "valueReference.path": "https://openenergyplatform.org/ontology/oeo/OEO_00000333/", + "unit": "[W]" + }, + { + "index": 5, + "name": "q_hp_prim", + "Description": "Heat pump's primary loop thermal power", + "type": "Number", + "isAbout.name": "power unit", + "isAbout.path": "https://openenergyplatform.org/ontology/oeo/OEO_00000333/", + "valueReference.value": "power unit", + "valueReference.name": "power unit", + "valueReference.path": "https://openenergyplatform.org/ontology/oeo/OEO_00000333/", + "unit": "[W]" + }, + { + "index": 6, + "name": "t_sup_hp_sec", + "Description": "Heat pump's secondary loop supply temperature", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" + }, + { + "index": 7, + "name": "t_ret_hp_sec", + "Description": "Heat pump's secondary loop return temperature", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" + }, + { + "index": 8, + "name": "v_hp_sec", + "Description": "Heat pump's secondary loop volume flow rate", + "type": "Number", + "isAbout.name": "water flow rate", + "isAbout.path": "https://openenergyplatform.org/ontology/oeo/OEO_00110003/", + "valueReference.value": "water flow rate", + "valueReference.name": "water flow rate", + "valueReference.path": "https://openenergyplatform.org/ontology/oeo/OEO_00110003/", + "unit": "[m³/h]" + }, + { + "index": 9, + "name": "t_sup_hp_prim", + "Description": "Heat pump's primary loop supply temperature", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" + }, + { + "index": 10, + "name": "t_ret_hp_prim", + "Description": "Heat pump's primary loop return temperature", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" + }, + { + "index": 11, + "name": "v_hp_prim", + "Description": "Heat pump's primary loop volume flow rate", + "type": "Number", + "isAbout.name": "Brine flow rate", + "isAbout.path": "http://purl.obolibrary.org/obo/UO_0000270", + "valueReference.value": "Brine flow rate", + "valueReference.name": "Brine flow rate", + "valueReference.path": "http://purl.obolibrary.org/obo/UO_0000270", + "unit": "[m³/h]" + }, + { + "index": 12, + "name": "q_r1", + "Description": "Delivered heat to room 1", + "type": "Number", + "isAbout.name": "power unit", + "isAbout.path": "https://openenergyplatform.org/ontology/oeo/OEO_00000333/", + "valueReference.value": "power unit", + "valueReference.name": "power unit", + "valueReference.path": "https://openenergyplatform.org/ontology/oeo/OEO_00000333/", + "unit": "[W]" + }, + { + "index": 13, + "name": "q_r2", + "Description": "Delivered heat to room 2", + "type": "Number", + "isAbout.name": "power unit", + "isAbout.path": "https://openenergyplatform.org/ontology/oeo/OEO_00000333/", + "valueReference.value": "power unit", + "valueReference.name": "power unit", + "valueReference.path": "https://openenergyplatform.org/ontology/oeo/OEO_00000333/", + "unit": "[W]" + }, + { + "index": 14, + "name": "q_r3", + "Description": "Delivered heat to room 3", + "type": "Number", + "isAbout.name": "power unit", + "isAbout.path": "https://openenergyplatform.org/ontology/oeo/OEO_00000333/", + "valueReference.value": "power unit", + "valueReference.name": "power unit", + "valueReference.path": "https://openenergyplatform.org/ontology/oeo/OEO_00000333/", + "unit": "[W]" + }, + { + "index": 15, + "name": "q_r4_1", + "Description": "Delivered heat to room 4 by its first circuit", + "type": "Number", + "isAbout.name": "power unit", + "isAbout.path": "https://openenergyplatform.org/ontology/oeo/OEO_00000333/", + "valueReference.value": "power unit", + "valueReference.name": "power unit", + "valueReference.path": "https://openenergyplatform.org/ontology/oeo/OEO_00000333/", + "unit": "[W]" + }, + { + "index": 16, + "name": "q_r4_2", + "Description": "Delivered heat to room 4 by its second circuit", + "type": "Number", + "isAbout.name": "power unit", + "isAbout.path": "https://openenergyplatform.org/ontology/oeo/OEO_00000333/", + "valueReference.value": "power unit", + "valueReference.name": "power unit", + "valueReference.path": "https://openenergyplatform.org/ontology/oeo/OEO_00000333/", + "unit": "[W]" + }, + { + "index": 17, + "name": "q_r5_1", + "Description": "Delivered heat to room 5 by its first circuit", + "type": "Number", + "isAbout.name": "power unit", + "isAbout.path": "https://openenergyplatform.org/ontology/oeo/OEO_00000333/", + "valueReference.value": "power unit", + "valueReference.name": "power unit", + "valueReference.path": "https://openenergyplatform.org/ontology/oeo/OEO_00000333/", + "unit": "[W]" + }, + { + "index": 18, + "name": "q_r5_2", + "Description": "Delivered heat to room 5 by its second circuit", + "type": "Number", + "isAbout.name": "power unit", + "isAbout.path": "https://openenergyplatform.org/ontology/oeo/OEO_00000333/", + "valueReference.value": "power unit", + "valueReference.name": "power unit", + "valueReference.path": "https://openenergyplatform.org/ontology/oeo/OEO_00000333/", + "unit": "[W]" + }, + { + "index": 19, + "name": "q_b", + "Description": "Delivered heat to bathroom", + "type": "Number", + "isAbout.name": "power unit", + "isAbout.path": "https://openenergyplatform.org/ontology/oeo/OEO_00000333/", + "valueReference.value": "power unit", + "valueReference.name": "power unit", + "valueReference.path": "https://openenergyplatform.org/ontology/oeo/OEO_00000333/", + "unit": "[W]" + }, + { + "index": 20, + "name": "q_k", + "Description": "Delivered heat to kitchen", + "type": "Number", + "isAbout.name": "power unit", + "isAbout.path": "https://openenergyplatform.org/ontology/oeo/OEO_00000333/", + "valueReference.value": "power unit", + "valueReference.name": "power unit", + "valueReference.path": "https://openenergyplatform.org/ontology/oeo/OEO_00000333/", + "unit": "[W]" + }, + { + "index": 21, + "name": "q_c", + "Description": "Delivered heat to corridor", + "type": "Number", + "isAbout.name": "power unit", + "isAbout.path": "https://openenergyplatform.org/ontology/oeo/OEO_00000333/", + "valueReference.value": "power unit", + "valueReference.name": "power unit", + "valueReference.path": "https://openenergyplatform.org/ontology/oeo/OEO_00000333/", + "unit": "[W]" + }, + { + "index": 22, + "name": "t_sup_r1", + "Description": "Supply temperature of room 1", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" + }, + { + "index": 23, + "name": "t_ret_r1", + "Description": "Return temperature of room 1", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" + }, + { + "index": 24, + "name": "v_r1", + "Description": "Volume flow rate of room 1's heating circuit", + "type": "Number", + "isAbout.name": "water flow rate", + "isAbout.path": "https://openenergyplatform.org/ontology/oeo/OEO_00110003/", + "valueReference.value": "water flow rate", + "valueReference.name": "water flow rate", + "valueReference.path": "https://openenergyplatform.org/ontology/oeo/OEO_00110003/", + "unit": "[m³/h]" + }, + { + "index": 25, + "name": "t_sup_r2", + "Description": "Supply temperature of room 2", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" + }, + { + "index": 26, + "name": "t_ret_r2", + "Description": "Return temperature of room 2", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" + }, + { + "index": 27, + "name": "v_r2", + "Description": "Volume flow rate of room 2's heating circuit", + "type": "Number", + "isAbout.name": "water flow rate", + "isAbout.path": "https://openenergyplatform.org/ontology/oeo/OEO_00110003/", + "valueReference.value": "water flow rate", + "valueReference.name": "water flow rate", + "valueReference.path": "https://openenergyplatform.org/ontology/oeo/OEO_00110003/", + "unit": "[m³/h]" + }, + { + "index": 28, + "name": "t_sup_r3", + "Description": "Supply temperature of room 3", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" + }, + { + "index": 29, + "name": "t_ret_r3", + "Description": "Return temperature of room 3", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" + }, + { + "index": 30, + "name": "v_r3", + "Description": "Volume flow rate of room 3's heating circuit", + "type": "Number", + "isAbout.name": "water flow rate", + "isAbout.path": "https://openenergyplatform.org/ontology/oeo/OEO_00110003/", + "valueReference.value": "water flow rate", + "valueReference.name": "water flow rate", + "valueReference.path": "https://openenergyplatform.org/ontology/oeo/OEO_00110003/", + "unit": "[m³/h]" + }, + { + "index": 31, + "name": "t_sup_r4_1", + "Description": "Supply temperature of room 4's first heating circuit", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" + }, + { + "index": 32, + "name": "t_ret_r4_1", + "Description": "Return temperature of room 4's first heating circuit", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" + }, + { + "index": 33, + "name": "v_r4_1", + "Description": "Volume flow rate of room 4's first heating circuit", + "type": "Number", + "isAbout.name": "water flow rate", + "isAbout.path": "https://openenergyplatform.org/ontology/oeo/OEO_00110003/", + "valueReference.value": "water flow rate", + "valueReference.name": "water flow rate", + "valueReference.path": "https://openenergyplatform.org/ontology/oeo/OEO_00110003/", + "unit": "[m³/h]" + }, + { + "index": 34, + "name": "t_sup_r4_2", + "Description": "supply temperature of room 4's second heating circuit", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" + }, + { + "index": 35, + "name": "t_ret_r4_2", + "Description": "Return temperature of room 4's second heating circuit", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" + }, + { + "index": 36, + "name": "v_r4_2", + "Description": "Volume flow rate of room 4's second heating circuit", + "type": "Number", + "isAbout.name": "water flow rate", + "isAbout.path": "https://openenergyplatform.org/ontology/oeo/OEO_00110003/", + "valueReference.value": "water flow rate", + "valueReference.name": "water flow rate", + "valueReference.path": "https://openenergyplatform.org/ontology/oeo/OEO_00110003/", + "unit": "[m³/h]" + }, + { + "index": 37, + "name": "t_sup_r5_1", + "Description": "supply temperature of room 5's first heating circuit", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" + }, + { + "index": 38, + "name": "t_ret_r5_1", + "Description": "Return temperature of room 5's first heating circuit", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" + }, + { + "index": 39, + "name": "v_r5_1", + "Description": "Volume flow rate of room 5's first heating circuit", + "type": "Number", + "isAbout.name": "water flow rate", + "isAbout.path": "https://openenergyplatform.org/ontology/oeo/OEO_00110003/", + "valueReference.value": "water flow rate", + "valueReference.name": "water flow rate", + "valueReference.path": "https://openenergyplatform.org/ontology/oeo/OEO_00110003/", + "unit": "[m³/h]" + }, + { + "index": 40, + "name": "t_sup_r5_2", + "Description": "Supply temperature of room 5's second heating circuit", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" + }, + { + "index": 41, + "name": "t_ret_r5_2", + "Description": "Return temperature of room 5's second heating circuit", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" + }, + { + "index": 42, + "name": "v_r5_2", + "Description": "Volume flow rate of room 5's second heating circuit", + "type": "Number", + "isAbout.name": "water flow rate", + "isAbout.path": "https://openenergyplatform.org/ontology/oeo/OEO_00110003/", + "valueReference.value": "water flow rate", + "valueReference.name": "water flow rate", + "valueReference.path": "https://openenergyplatform.org/ontology/oeo/OEO_00110003/", + "unit": "[m³/h]" + }, + { + "index": 43, + "name": "t_sup_b", + "Description": "Suppy temperature of bathroom", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" + }, + { + "index": 44, + "name": "t_ret_b", + "Description": "Return temperature of bathroom", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" + }, + { + "index": 45, + "name": "v_b", + "Description": "Volume flow rate of bathroom's heating circuit", + "type": "Number", + "isAbout.name": "water flow rate", + "isAbout.path": "https://openenergyplatform.org/ontology/oeo/OEO_00110003/", + "valueReference.value": "water flow rate", + "valueReference.name": "water flow rate", + "valueReference.path": "https://openenergyplatform.org/ontology/oeo/OEO_00110003/", + "unit": "[m³/h]" + }, + { + "index": 46, + "name": "t_sup_k", + "Description": "Suppy temperature of kitchen", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" + }, + { + "index": 47, + "name": "t_ret_k", + "Description": "Return temperature of kitchen", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" + }, + { + "index": 48, + "name": "v_k", + "Description": "Volume flow rate of kitchen's heating circuit", + "type": "Number", + "isAbout.name": "water flow rate", + "isAbout.path": "https://openenergyplatform.org/ontology/oeo/OEO_00110003/", + "valueReference.value": "water flow rate", + "valueReference.name": "water flow rate", + "valueReference.path": "https://openenergyplatform.org/ontology/oeo/OEO_00110003/", + "unit": "[m³/h]" + }, + { + "index": 49, + "name": "t_sup_c", + "Description": "Suppy temperature of corridor", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" + }, + { + "index": 50, + "name": "t_ret_c", + "Description": "Return temperature of corridor", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" + }, + { + "index": 51, + "name": "v_c", + "Description": "Volume flow rate of corridor's heating circuit", + "type": "Number", + "isAbout.name": "water flow rate", + "isAbout.path": "https://openenergyplatform.org/ontology/oeo/OEO_00110003/", + "valueReference.value": "water flow rate", + "valueReference.name": "water flow rate", + "valueReference.path": "https://openenergyplatform.org/ontology/oeo/OEO_00110003/", + "unit": "[m³/h]" + }, + { + "index": 52, + "name": "t_r1", + "Description": "Room 1 temperature", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" + }, + { + "index": 53, + "name": "t_r1_set", + "Description": "Room 1 setpoint temperature", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" + }, + { + "index": 54, + "name": "t_r2", + "Description": "Room 2 temperature", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" + }, + { + "index": 55, + "name": "t_r2_set", + "Description": "Room 2 setpoint temperature", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" + }, + { + "index": 56, + "name": "t_r3", + "Description": "Room 3 temperature", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" + }, + { + "index": 57, + "name": "t_r3_set", + "Description": "Room 3 setpoint temperature", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" + }, + { + "index": 58, + "name": "t_r4", + "Description": "Room 4 temperature", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" + }, + { + "index": 59, + "name": "t_r4_set", + "Description": "Room 4 setpoint temperature", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" + }, + { + "index": 60, + "name": "t_r5", + "Description": "Room 5 temperature", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" + }, + { + "index": 61, + "name": "t_r5_set", + "Description": "Room 5 setpoint temperature", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" + }, + { + "index": 62, + "name": "t_b", + "Description": "Bath temperature", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" + }, + { + "index": 63, + "name": "t_b_set", + "Description": "Bath setpoint temperature", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" + }, + { + "index": 64, + "name": "t_k", + "Description": "Kitchen temperature", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" + }, + { + "index": 65, + "name": "t_k_set", + "Description": "Kitchen setpoint temperature", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" + }, + { + "index": 66, + "name": "t_c", + "Description": "Corridor temperature", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" + }, + { + "index": 67, + "name": "t_c_set", + "Description": "Corridor setpoint temperature", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" + }, + { + "index": 68, + "name": "t_u1_1", + "Description": "U-probe 1 temperature at 1m depth", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" + }, + { + "index": 69, + "name": "t_u1_5", + "Description": "U-probe 1 temperature at 5m depth", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" + }, + { + "index": 70, + "name": "t_u1_10", + "Description": "U-probe 1 temperature at 10m depth", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" + }, + { + "index": 71, + "name": "t_u1_18", + "Description": "U-probe 1 temperature at 18m depth", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" + }, + { + "index": 72, + "name": "t_u1_27", + "Description": "U-probe 1 temperature at 27m depth", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" + }, + { + "index": 73, + "name": "t_u1_37", + "Description": "U-probe 1 temperature at 37m depth", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" + }, + { + "index": 74, + "name": "t_u2_1", + "Description": "U-probe 2 temperature at 1m depth", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" + }, + { + "index": 75, + "name": "t_u2_5", + "Description": "U-probe 2 temperature at 5m depth", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" + }, + { + "index": 76, + "name": "t_u2_10", + "Description": "U-probe 2 temperature at 10m depth", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" + }, + { + "index": 77, + "name": "t_u2_18", + "Description": "U-probe 2 temperature at 18m depth", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" + }, + { + "index": 78, + "name": "t_u2_27", + "Description": "U-probe 2 temperature at 27m depth", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" + }, + { + "index": 79, + "name": "t_u2_37", + "Description": "U-probe 2 temperature at 37m depth", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" + }, + { + "index": 80, + "name": "t_u3_1", + "Description": "U-probe 3 temperature at 1m depth", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" + }, + { + "index": 81, + "name": "t_u3_5", + "Description": "U-probe 3 temperature at 5m depth", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" + }, + { + "index": 82, + "name": "t_u3_10", + "Description": "U-probe 3 temperature at 10m depth", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" + }, + { + "index": 83, + "name": "t_u3_27", + "Description": "U-probe 3 temperature at 18m depth", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" + }, + { + "index": 84, + "name": "t_u3_37", + "Description": "U-probe 3 temperature at 27m depth", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" + }, + { + "index": 85, + "name": "t_wl1_1", + "Description": "Water level monitor 1 temperature at 1m depth", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" + }, + { + "index": 86, + "name": "t_wl1_5", + "Description": "Water level monitor 1 temperature at 5m depth", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" + }, + { + "index": 87, + "name": "t_wl1_10", + "Description": "Water level monitor 1 temperature at 10m depth", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" + }, + { + "index": 88, + "name": "t_wl2_1", + "Description": "Water level monitor 2 temperature at 1m depth", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" + }, + { + "index": 89, + "name": "t_wl2_5", + "Description": "Water level monitor 2 temperature at 5m depth", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" + }, + { + "index": 90, + "name": "t_wl2_10", + "Description": "Water level monitor 2 temperature at 10m depth", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" + }, + { + "index": 91, + "name": "t_wl3_1", + "Description": "Water level monitor 3 temperature at 1m depth", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" + }, + { + "index": 92, + "name": "t_wl3_5", + "Description": "Water level monitor 3 temperature at 5m depth", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" + }, + { + "index": 93, + "name": "t_wl3_10", + "Description": "Water level monitor 3 temperature at 10m depth", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" + }, + { + "index": 94, + "name": "t_s_1", + "Description": "Spiral probe temperature at 1m depth", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" + }, + { + "index": 95, + "name": "t_s_10", + "Description": "Spiral probe temperature at 10m depth", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" + }, + { + "index": 96, + "name": "t_s_18", + "Description": "Spiral probe temperature at 18m depth", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" + }, + { + "index": 97, + "name": "t_wl4_1", + "Description": "Water level monitor 4 temperature at 1m depth", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" + }, + { + "index": 98, + "name": "t_wl4_5", + "Description": "Water level monitor 4 temperature at 5m depth", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" + }, + { + "index": 99, + "name": "t_wl4_10", + "Description": "Water level monitor 4 temperature at 10m depth", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" + }, + { + "index": 100, + "name": "t_wl4_18", + "Description": "Water level monitor 4 temperature at 18m depth", + "type": "Number", + "isAbout.name": "temperature", + "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "valueReference.value": "temperature", + "valueReference.name": "temperature", + "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + "unit": "[°C]" + }, + { + "index": 101, + "name": "p_g", + "Description": "Power at grid connection point", + "type": "Number", + "isAbout.name": "power unit", + "isAbout.path": "https://openenergyplatform.org/ontology/oeo/OEO_00000333/", + "valueReference.value": "power unit", + "valueReference.name": "power unit", + "valueReference.path": "https://openenergyplatform.org/ontology/oeo/OEO_00000333/", + "unit": "[W]" + }, + { + "index": 102, + "name": "p_pv", + "Description": "Photovoltaic generated power", + "type": "Number", + "isAbout.name": "power unit", + "isAbout.path": "https://openenergyplatform.org/ontology/oeo/OEO_00000333/", + "valueReference.value": "power unit", + "valueReference.name": "power unit", + "valueReference.path": "https://openenergyplatform.org/ontology/oeo/OEO_00000333/", + "unit": "[W]" + }, + { + "index": 103, + "name": "p_hp", + "Description": "Power consumption of heat pump", + "type": "Number", + "isAbout.name": "power unit", + "isAbout.path": "https://openenergyplatform.org/ontology/oeo/OEO_00000333/", + "valueReference.value": "power unit", + "valueReference.name": "power unit", + "valueReference.path": "https://openenergyplatform.org/ontology/oeo/OEO_00000333/", + "unit": "[W]" + }, + { + "index": 104, + "name": "p_k", + "Description": "Power consumption of kitchen appliances", + "type": "Number", + "isAbout.name": "power unit", + "isAbout.path": "https://openenergyplatform.org/ontology/oeo/OEO_00000333/", + "valueReference.value": "power unit", + "valueReference.name": "power unit", + "valueReference.path": "https://openenergyplatform.org/ontology/oeo/OEO_00000333/", + "unit": "[W]" } - } -} + ] +} \ No newline at end of file diff --git a/services/backend_regimo/components/oep_access/upload_LLEC.py b/services/backend_regimo/components/oep_access/upload_LLEC.py index 964e3fe..e95997b 100644 --- a/services/backend_regimo/components/oep_access/upload_LLEC.py +++ b/services/backend_regimo/components/oep_access/upload_LLEC.py @@ -5,66 +5,131 @@ import logging from pathlib import Path from getpass import getpass from os import environ -from random import randint from oep_client import OepClient from oemeta.target_meta import OEMeta from excel_sheet_adapter import ExcelSheetAdapter -from settings import (RESOLVED_SCHEMA_FILE_NAME, TEMPLATE_PATH, LOG_FORMAT, - PATH_TO_SOURCE, URL_TO_SOURCE) - -# set default value for the oep token -environ.setdefault('OEP_API_TOKEN', - "f00fa56fa4554da3714832a9452525248f9c4988") - -topic = "sandbox" -table = f"living_lab_table_{randint(0, 100000)}" - -# configure logger. Please select your logging level -# INFO or DEBUG. Logs are to find under log/ -logging.basicConfig(level=logging.DEBUG, filename='log/'+table+'.log', - format=LOG_FORMAT, filemode='w') -logger = logging.getLogger(__name__) -logger.info('Starting LLEC upload') - -path_to_source = PATH_TO_SOURCE -url_to_source = URL_TO_SOURCE -token = environ.get("OEP_API_TOKEN") or getpass("Enter your OEP API token: ") - -# for read/write, we need to add authorization header -auth_headers = {"Authorization": "Token %s" % token} -table_api_url = f"https://openenergyplatform.org/api/v0/schema/{topic}/tables/{table}/" -logger.info("Table API URL: %s" % table_api_url) - -# instantiate table source -table_source = ExcelSheetAdapter(table_path=Path(path_to_source), - data_sheet_name='dataset_sample_2rows_comp', - metadata_sheet_name='dataset_sample_2rows_meta') -# instantiate target meta -target_meta = OEMeta() - -# get header -table_schema_definition = table_source.get_header() - -# load data from table source -table_data = table_source.get_data() - -# load metadata from table source -table_metadata = table_source.get_metadata() -# todo: handle metadata with in an object(oemeta) - -# attach a model to target_meta -target_meta.attach_schema(MODEL_PATH) - -# instantiate client to oep -cli = OepClient(token=token, default_schema=topic) -cli.create_table(table, table_schema_definition) -cli.insert_into_table(table, table_data) - -# get metadata (from example file) -# metadata = req.get( -# "https://raw.githubusercontent.com/OpenEnergyPlatform/academy/production/docs/data/tutorial_example_table.metadata.json").json() - -# metadata = cli.set_metadata(table, metadata) -# print(json.dumps(metadata, indent=4)) +from settings import (MODEL_PATH, LOG_FORMAT, PATH_TO_SOURCE, + URL_TO_SOURCE, TOPIC, TARGET_TABLE_NAME, + RESOLVED_SCHEMA_FILE_NAME) + + +def main(): + """ + An excel file containing both data and metadata is uploaded to oep. + Metadata are attached to the data's table. + A review process will be triggered, as a result the data are published to + the databus.open-energy-platform.org. + """ + + # set default value for the oep token + environ.setdefault('OEP_API_TOKEN', + "f00fa56fa4554da3714832a9452525248f9c4988") + + # set values from settings + path_to_source = PATH_TO_SOURCE + url_to_source = URL_TO_SOURCE + model_path = MODEL_PATH + schema_path = RESOLVED_SCHEMA_FILE_NAME + table_name = TARGET_TABLE_NAME + topic = TOPIC + token = environ.get("OEP_API_TOKEN") or getpass("Enter your OEP API token: ") + + # INFO or DEBUG. Logs are to find under log/ + logging.basicConfig(level=logging.DEBUG, filename='log/' + table_name + '.log', + format=LOG_FORMAT, filemode='w') + logger = logging.getLogger(__name__) + logger.info('Starting LLEC upload') + + # for read/write, we need to add authorization header # auth_headers = {"Authorization": "Token %s" % token} + table_api_url = f"https://openenergyplatform.org/api/v0/schema/{topic}/tables/{table_name}/" + logger.info("Table API URL: %s" % table_api_url) + + # instantiate table source + table_source = ExcelSheetAdapter(table_path=Path(path_to_source), table_url=url_to_source, + data_sheet_name='dataset_sample_2rows_comp', + metadata_sheet_name='dataset_sample_2rows_meta') + # - target metadata + target_meta = OEMeta(model_path=model_path, + schema_path=schema_path) + # - client to oep + cli = OepClient(token=token, + default_schema=topic) + + # get header from table source + table_schema_definition = table_source.get_header() + + # load data from table source + table_data = table_source.get_data() + + # merge metadata from table source into target meta + ## + # load metadata header from table source in <sheet[1]|metadata_sheet_name> + table_metadata_header = table_source.get_metadata_header() + # example of a field in table_metadata_header + # { + # "index": 0, + # "name": "t_amb", + # "Description": "Ambient temperature", + # "type": "Number", + # "isAbout.name": "temperature", + # "isAbout.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + # "valueReference.value": "temperature", + # "valueReference.name": "temperature", + # "valueReference.path": "http://openenergy-platform.org/ontology/oeo/OEO_00010453", + # "unit": "[°C]" + # }, + for field_item in table_metadata_header: + target_meta.merge_field_from_meta_source(field_item) + + general_metadata = table_source.get_metadata_section("general") + # example of + # {'first_or_single': {'name': 'Living Lab Measurements', 'topics': 'Measurement', 'title': 'Living Lab Meas', + # 'path': 'https://github.com/koubaa-hmc/LLEC_Data/raw/refs/heads/main/dataset_2rows.xlsx', + # 'description': 'The table is a collection of measurements done in a Living Lab', + # 'languages': '"en-GB"', 'subject.name': 'energy use', + # 'subject.path': 'http://openenergy-platform.org/ontology/oeo/OEO_00010210', + # 'keywords': 'http://openenergy-platform.org/ontology/oeo/OEO_00000150', + # 'publicationDate': '2025-01-28T00:00:00.000', 'embargoPeriod.start': None, + # 'embargoPeriod.end': None, 'embargoPeriod.isActive': False}, + # 'second': {'name': None, 'topics': 'Energy', 'title': None, 'path': None, 'description': None, 'languages': None, + # 'subject.name': None, 'subject.path': None, + # 'keywords': 'http://openenergy-platform.org/ontology/oeo/OEO_00000384', 'publicationDate': None, + # 'embargoPeriod.start': None, 'embargoPeriod.end': None, 'embargoPeriod.isActive': None}, + # 'third': {'name': None, 'topics': 'Temperature', 'title': None, 'path': None, 'description': None, + # 'languages': None, 'subject.name': None, 'subject.path': None, 'keywords': None, 'pubDate': None, + # 'embargoPeriod.start': None, 'embargoPeriod.end': None, 'embargoPeriod.isActive': None}, + # 'fourth': {'name': None, 'topics': None, 'title': None, 'path': None, 'description': None, 'languages': None, + # 'subject.name': None, 'subject.path': None, 'keywords': None, 'publicationDate': None, + # 'embargoPeriod.start': None, 'embargoPeriod.end': None, 'embargoPeriod.isActive': None}} + target_meta.merge_general_from_meta_source(general_metadata) + + licenses_metadata = table_source.get_metadata_section("licenses") + target_meta.merge_licenses_from_meta_source(licenses_metadata) + + provenance_metadata = table_source.get_metadata_section("provenance") + target_meta.merge_provenance_from_meta_source(provenance_metadata) + + spatial_metadata = table_source.get_metadata_section("spatial") + target_meta.merge_spatial_from_meta_source(spatial_metadata) + + temporal_metadata = table_source.get_metadata_section("temporal") + target_meta.merge_temporal_from_meta_source(temporal_metadata) + + target_meta.get_metadata() + + # create table on oep and upload data + cli.create_table(table_name, table_schema_definition) + cli.insert_into_table(table_name, table_data) + + # get metadata (from example file) + # metadata = req.get( + # "https://raw.githubusercontent.com/OpenEnergyPlatform/academy/production/docs/data/tutorial_example_table.metadata.json").json() + + # metadata = cli.set_metadata(table, metadata) + # print(json.dumps(metadata, indent=4)) + + +if __name__ == '__main__': + main() diff --git a/services/backend_regimo/data/LLEC_Data b/services/backend_regimo/data/LLEC_Data index ed02372..22cf19d 160000 --- a/services/backend_regimo/data/LLEC_Data +++ b/services/backend_regimo/data/LLEC_Data @@ -1 +1 @@ -Subproject commit ed02372d79e68110b8a3a9d2ff977eac77a024f9 +Subproject commit 22cf19d66416505f257a07d1221f3b8d7455c60e -- GitLab