{
  "format": "dataset-manifest/1",
  "slug": "ai-enhanced-home-energy-efficiency-analyzer",
  "version": 2,
  "seed": "ai-enhanced-home-energy-efficiency-analyzer:1",
  "spec": {
    "format": "dataset/1",
    "slug": "ai-enhanced-home-energy-efficiency-analyzer",
    "name": "Home Energy Optimization Metrics",
    "tagline": "Metrics on smart meters, appliance usage, solar installations, and electric vehicle data for home energy optimization.",
    "description": "Homes increasingly integrate smart technology to monitor and optimize energy efficiency. This dataset models the analysis of data from smart meters, appliances, solar installations, and electric vehicles, providing insights on energy usage patterns and potential savings. Users can explore energy consumption trends, identify spikes during peak hours, and evaluate solar energy generation on sunny days. Additionally, the dataset opens avenues for understanding demand response and energy storage management strategies, making it invaluable for analysts and decision-makers in the energy sector. The tables are synthetic, ensuring a variety of scenarios and metrics relevant to energy efficiency optimization.",
    "domain": "energy",
    "shape": "time-series",
    "useCases": [
      "analytics-demo",
      "bi-dashboards"
    ],
    "keywords": [
      "energy efficiency",
      "smart home",
      "data analysis",
      "appliance usage",
      "solar generation",
      "electric vehicles",
      "demand response"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "smart_meters": {
        "description": "This table captures data from smart meters installed in homes, linking to specific households and recording energy consumption over time.",
        "rows": 500,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each smart meter."
          },
          "home_id": {
            "kind": "fk",
            "ref": "homes.id",
            "description": "Reference to the home this meter belongs to."
          },
          "timestamp": {
            "kind": "datetime",
            "from": "2023-01-01",
            "to": "2023-12-31",
            "description": "The date and time when the reading was taken."
          },
          "energy_consumption_kwh": {
            "kind": "decimal",
            "min": 0,
            "max": 1000,
            "scale": 2,
            "description": "Energy consumption in kilowatt-hours.",
            "distribution": "normal"
          }
        }
      },
      "appliance_usage": {
        "description": "This table details the usage patterns of various appliances in linked homes, providing insights into energy consumption behavior.",
        "rows": 800,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each appliance usage record."
          },
          "home_id": {
            "kind": "fk",
            "ref": "homes.id",
            "description": "Reference to the home this appliance belongs to."
          },
          "appliance_type": {
            "kind": "enum",
            "values": [
              "refrigerator",
              "washing_machine",
              "air_conditioner",
              "heater",
              "tv"
            ],
            "description": "Type of appliance being monitored."
          },
          "usage_hours": {
            "kind": "int",
            "min": 0,
            "max": 24,
            "description": "Number of hours the appliance is used in a day.",
            "nullable": true,
            "when": {
              "column": "appliance_type",
              "in": [
                "refrigerator",
                "washing_machine",
                "air_conditioner",
                "heater",
                "tv"
              ]
            }
          },
          "timestamp": {
            "kind": "datetime",
            "from": "2023-01-01",
            "to": "2023-12-31",
            "description": "The date and time of the usage record.",
            "dayProfile": "waking",
            "trend": "growing"
          }
        }
      },
      "solar_installations": {
        "description": "This table records the solar energy generation from installations at homes, highlighting output trends over time.",
        "rows": 400,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each solar installation record."
          },
          "home_id": {
            "kind": "fk",
            "ref": "homes.id",
            "description": "Reference to the home with the solar installation."
          },
          "timestamp": {
            "kind": "datetime",
            "from": "2023-01-01",
            "to": "2023-12-31",
            "description": "The date and time when the solar generation was recorded.",
            "dayProfile": "business"
          },
          "energy_generated_kwh": {
            "kind": "decimal",
            "min": 0,
            "max": 1000,
            "scale": 2,
            "description": "Energy generated by the solar installation in kilowatt-hours.",
            "distribution": "normal"
          }
        }
      },
      "electric_vehicles": {
        "description": "This table provides data on the energy consumption and charging patterns of electric vehicles linked to homes.",
        "rows": 300,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each electric vehicle record."
          },
          "home_id": {
            "kind": "fk",
            "ref": "homes.id",
            "description": "Reference to the home that owns the electric vehicle."
          },
          "timestamp": {
            "kind": "datetime",
            "from": "2023-01-01",
            "to": "2023-12-31",
            "description": "The date and time of the charging or consumption record.",
            "dayProfile": "waking"
          },
          "energy_consumed_kwh": {
            "kind": "decimal",
            "min": 0,
            "max": 1000,
            "scale": 2,
            "description": "Energy consumed by the electric vehicle in kilowatt-hours.",
            "distribution": "normal"
          }
        }
      },
      "homes": {
        "description": "This table lists the homes integrated with smart technology, including their identifiers and locations.",
        "rows": 200,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each home."
          },
          "address": {
            "kind": "sentence",
            "min": 10,
            "max": 100,
            "description": "Address of the home.",
            "nullable": true
          },
          "city": {
            "kind": "city",
            "description": "City where the home is located.",
            "nullable": true
          },
          "state": {
            "kind": "words",
            "min": 1,
            "max": 1,
            "description": "State where the home is located.",
            "nullable": true,
            "pool": [
              "Alabama",
              "Alaska",
              "Arizona",
              "Arkansas",
              "California",
              "Colorado",
              "Connecticut",
              "Delaware",
              "Florida",
              "Georgia",
              "Hawaii",
              "Idaho",
              "Illinois",
              "Indiana",
              "Iowa",
              "Kansas",
              "Kentucky",
              "Louisiana",
              "Maine",
              "Maryland",
              "Massachusetts",
              "Michigan",
              "Minnesota",
              "Mississippi",
              "Missouri",
              "Montana",
              "Nebraska",
              "Nevada",
              "NewHampshire",
              "NewJersey",
              "NewMexico",
              "NewYork",
              "NorthCarolina",
              "NorthDakota",
              "Ohio",
              "Oklahoma",
              "Oregon",
              "Pennsylvania",
              "RhodeIsland",
              "SouthCarolina",
              "SouthDakota",
              "Tennessee",
              "Texas",
              "Utah",
              "Vermont",
              "Virginia",
              "Washington",
              "WestVirginia",
              "Wisconsin",
              "Wyoming"
            ]
          },
          "zipcode": {
            "kind": "postcode",
            "description": "Postal code for the home.",
            "nullable": true
          }
        }
      },
      "energy_audits": {
        "description": "This table captures energy audit results for homes, providing insights into potential energy savings and efficiency measures.",
        "rows": 250,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each energy audit."
          },
          "home_id": {
            "kind": "fk",
            "ref": "homes.id",
            "description": "Reference to the home that underwent the audit."
          },
          "audit_date": {
            "kind": "datetime",
            "from": "2023-01-01",
            "to": "2023-12-31",
            "description": "Date when the energy audit was performed.",
            "dayProfile": "business",
            "trend": "seasonal"
          },
          "potential_savings": {
            "kind": "decimal",
            "min": 0,
            "max": 10000,
            "scale": 2,
            "description": "Estimated potential savings from recommended energy efficiency measures.",
            "nullable": true,
            "distribution": "long-tail"
          }
        }
      }
    },
    "structure": "multi-table",
    "traits": [
      "timestamped",
      "monetary",
      "nullable",
      "high-cardinality"
    ],
    "analysisQuestions": [
      "What are the peak hours of energy consumption for different homes?",
      "How does solar energy generation correlate with sunny days?",
      "What appliances contribute most to overall energy usage?",
      "How can potential savings from energy audits be maximized?",
      "What patterns exist in electric vehicle charging during off-peak hours?"
    ],
    "suggestedQueries": [
      {
        "title": "Join Smart Meter and Appliance Usage Data",
        "sql": "SELECT sm.timestamp, sm.energy_consumption_kwh, au.appliance_type, au.usage_hours FROM smart_meters sm JOIN appliance_usage au ON sm.home_id = au.home_id WHERE sm.timestamp = au.timestamp",
        "dialect": "postgres"
      },
      {
        "title": "Aggregate Solar Energy Generation",
        "sql": "SELECT si.home_id, SUM(si.energy_generated_kwh) as total_generated FROM solar_installations si GROUP BY si.home_id",
        "dialect": "postgres"
      },
      {
        "title": "Energy Consumption Over Time",
        "sql": "SELECT sm.timestamp, AVG(sm.energy_consumption_kwh) as avg_consumption FROM smart_meters sm GROUP BY sm.timestamp ORDER BY sm.timestamp",
        "dialect": "postgres"
      },
      {
        "title": "Electric Vehicle Charging Patterns",
        "sql": "SELECT ev.home_id, COUNT(ev.id) as charge_count FROM electric_vehicles ev GROUP BY ev.home_id HAVING COUNT(ev.id) > 5",
        "dialect": "postgres"
      },
      {
        "title": "Potential Savings from Energy Audits",
        "sql": "SELECT ha.home_id, SUM(ea.potential_savings) as total_savings FROM energy_audits ea JOIN homes ha ON ea.home_id = ha.id GROUP BY ha.home_id",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "Energy Analysts Monitoring Consumption Patterns",
        "body": "Energy analysts can utilize this dataset to monitor and analyze energy consumption patterns across different households. By examining smart meter data, they can identify peak usage times and determine how various appliances contribute to overall consumption, offering insights that can guide energy-saving recommendations."
      },
      {
        "title": "Solar Energy Production Analysis",
        "body": "Researchers studying solar energy production can leverage the solar_installations table to assess energy generation trends relative to weather conditions. By correlating solar generation data with sunny days, they can provide valuable insights into the effectiveness of solar installations and recommend improvements."
      },
      {
        "title": "Electric Vehicle Charging Optimization",
        "body": "Electric vehicle owners and utility companies can benefit from analyzing the electric_vehicles table to optimize charging times. By identifying patterns in charging behavior, they can encourage off-peak charging, reducing strain on the grid and enhancing overall energy efficiency."
      },
      {
        "title": "Identifying Energy Efficiency Opportunities",
        "body": "Home energy auditors can utilize the energy_audits table to identify potential energy savings for clients. By analyzing audit results, they can recommend specific changes that maximize efficiency and reduce energy costs, ultimately guiding homeowners towards a more sustainable lifestyle."
      }
    ]
  },
  "counts": {
    "homes": 200,
    "appliance_usage": 800,
    "electric_vehicles": 300,
    "energy_audits": 250,
    "smart_meters": 500,
    "solar_installations": 400
  },
  "stats": {
    "smart_meters": {
      "rows": 500,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 500,
          "min": 1,
          "max": 500
        },
        "home_id": {
          "nulls": 0,
          "distinct": 185,
          "min": 1,
          "max": 200
        },
        "timestamp": {
          "nulls": 0,
          "distinct": 500,
          "min": "2023-01-01 19:27:36",
          "max": "2023-12-30 21:01:48"
        },
        "energy_consumption_kwh": {
          "nulls": 0,
          "distinct": 495,
          "min": 115.99,
          "max": 911.82
        }
      }
    },
    "appliance_usage": {
      "rows": 800,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 800,
          "min": 1,
          "max": 800
        },
        "home_id": {
          "nulls": 0,
          "distinct": 197,
          "min": 1,
          "max": 200
        },
        "appliance_type": {
          "nulls": 0,
          "distinct": 5,
          "min": "air_conditioner",
          "max": "washing_machine"
        },
        "usage_hours": {
          "nulls": 0,
          "distinct": 25,
          "min": 0,
          "max": 24
        },
        "timestamp": {
          "nulls": 0,
          "distinct": 800,
          "min": "2023-01-02 21:45:16",
          "max": "2023-12-31 23:41:28"
        }
      }
    },
    "solar_installations": {
      "rows": 400,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 400,
          "min": 1,
          "max": 400
        },
        "home_id": {
          "nulls": 0,
          "distinct": 177,
          "min": 1,
          "max": 200
        },
        "timestamp": {
          "nulls": 0,
          "distinct": 400,
          "min": "2023-01-03 09:49:13",
          "max": "2023-12-29 11:44:30"
        },
        "energy_generated_kwh": {
          "nulls": 0,
          "distinct": 398,
          "min": 91.48,
          "max": 942.28
        }
      }
    },
    "electric_vehicles": {
      "rows": 300,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 300,
          "min": 1,
          "max": 300
        },
        "home_id": {
          "nulls": 0,
          "distinct": 157,
          "min": 1,
          "max": 200
        },
        "timestamp": {
          "nulls": 0,
          "distinct": 300,
          "min": "2023-01-01 08:28:49",
          "max": "2023-12-30 21:41:53"
        },
        "energy_consumed_kwh": {
          "nulls": 0,
          "distinct": 298,
          "min": 113.75,
          "max": 891.03
        }
      }
    },
    "homes": {
      "rows": 200,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "address": {
          "nulls": 16,
          "distinct": 184
        },
        "city": {
          "nulls": 21,
          "distinct": 59,
          "min": "Amsterdam",
          "max": "Zurich"
        },
        "state": {
          "nulls": 24,
          "distinct": 50
        },
        "zipcode": {
          "nulls": 19,
          "distinct": 181,
          "min": 26,
          "max": 99370
        }
      }
    },
    "energy_audits": {
      "rows": 250,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 250,
          "min": 1,
          "max": 250
        },
        "home_id": {
          "nulls": 0,
          "distinct": 135,
          "min": 2,
          "max": 199
        },
        "audit_date": {
          "nulls": 0,
          "distinct": 250,
          "min": "2023-01-03 14:29:29",
          "max": "2023-12-31 15:05:07"
        },
        "potential_savings": {
          "nulls": 30,
          "distinct": 220,
          "min": 2.92,
          "max": 9992.17
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/homes.csv",
      "format": "csv",
      "table": "homes",
      "key": "datasets/ai-enhanced-home-energy-efficiency-analyzer/v2/csv/homes.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ai-enhanced-home-energy-efficiency-analyzer/v2/csv/homes.csv",
      "bytes": 15566,
      "sha256": "abd79e23a0879297bd9cfd6e795bc0e5f202c3763174b6090ddcd2b53ef2912c",
      "rows": 200,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/appliance_usage.csv",
      "format": "csv",
      "table": "appliance_usage",
      "key": "datasets/ai-enhanced-home-energy-efficiency-analyzer/v2/csv/appliance_usage.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ai-enhanced-home-energy-efficiency-analyzer/v2/csv/appliance_usage.csv",
      "bytes": 33446,
      "sha256": "ee274249f99944392fbecd298896dd945eb5c77636c9d93b0263c524aecfd9c5",
      "rows": 800,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/electric_vehicles.csv",
      "format": "csv",
      "table": "electric_vehicles",
      "key": "datasets/ai-enhanced-home-energy-efficiency-analyzer/v2/csv/electric_vehicles.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ai-enhanced-home-energy-efficiency-analyzer/v2/csv/electric_vehicles.csv",
      "bytes": 10572,
      "sha256": "0cfbcf67975d09704d170acaca97b738100a7b8f7888674f50d15d8a8a2760e6",
      "rows": 300,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/energy_audits.csv",
      "format": "csv",
      "table": "energy_audits",
      "key": "datasets/ai-enhanced-home-energy-efficiency-analyzer/v2/csv/energy_audits.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ai-enhanced-home-energy-efficiency-analyzer/v2/csv/energy_audits.csv",
      "bytes": 8762,
      "sha256": "e2742034f5b2a7b4e836ffbc3e431f377c91e04974c0ad60b56f3df6dc330f4f",
      "rows": 250,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/smart_meters.csv",
      "format": "csv",
      "table": "smart_meters",
      "key": "datasets/ai-enhanced-home-energy-efficiency-analyzer/v2/csv/smart_meters.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ai-enhanced-home-energy-efficiency-analyzer/v2/csv/smart_meters.csv",
      "bytes": 17678,
      "sha256": "e74d773724512744fad4be3a6f35ac40d9319848a3b66eac811010726fa84015",
      "rows": 500,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/solar_installations.csv",
      "format": "csv",
      "table": "solar_installations",
      "key": "datasets/ai-enhanced-home-energy-efficiency-analyzer/v2/csv/solar_installations.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ai-enhanced-home-energy-efficiency-analyzer/v2/csv/solar_installations.csv",
      "bytes": 14122,
      "sha256": "66a34f471f29ebbecb98d70f08847e8f0ae8ad5eebf1b089c954ed9ad97d0b65",
      "rows": 400,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "ai-enhanced-home-energy-efficiency-analyzer.json",
      "format": "json",
      "table": null,
      "key": "datasets/ai-enhanced-home-energy-efficiency-analyzer/v2/ai-enhanced-home-energy-efficiency-analyzer.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ai-enhanced-home-energy-efficiency-analyzer/v2/ai-enhanced-home-energy-efficiency-analyzer.json",
      "bytes": 348263,
      "sha256": "d1b545d32108f9dfbf495ce24e71323e17c69399e8229e9ae64e166420ed6af0",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/ai-enhanced-home-energy-efficiency-analyzer/v2/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ai-enhanced-home-energy-efficiency-analyzer/v2/sql/postgres.sql",
      "bytes": 135053,
      "sha256": "34a74234dc6122bdc857b72147796cbe325cb5ead012733aea068f22b7eeea2e",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/ai-enhanced-home-energy-efficiency-analyzer/v2/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ai-enhanced-home-energy-efficiency-analyzer/v2/sql/mysql.sql",
      "bytes": 134319,
      "sha256": "65552baf51616a0849e369836bda9018d9439872f255ff4c8ad94496d0d0b7b7",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/ai-enhanced-home-energy-efficiency-analyzer/v2/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ai-enhanced-home-energy-efficiency-analyzer/v2/sql/mssql.sql",
      "bytes": 138539,
      "sha256": "e903e14a37946234126897a2eba12ee1167cc80b87777386876a10c6a7afe7bc",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/ai-enhanced-home-energy-efficiency-analyzer/v2/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ai-enhanced-home-energy-efficiency-analyzer/v2/sql/sqlite.sql",
      "bytes": 134045,
      "sha256": "dd3619f2758d9bd43de641aa1bd2a4449ceb11a57cc4a119a7e2788ebbb1fec8",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/ai-enhanced-home-energy-efficiency-analyzer/v2/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ai-enhanced-home-energy-efficiency-analyzer/v2/prisma/seed.ts",
      "bytes": 300491,
      "sha256": "eb29e8f136f493ec28d629121b6c7fe6b6221b5dd648e2ff11b3ed424af78d66",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/ai-enhanced-home-energy-efficiency-analyzer/v2/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ai-enhanced-home-energy-efficiency-analyzer/v2/django/fixtures.json",
      "bytes": 468296,
      "sha256": "c3607644200425ad2e3de5b94a0c02fec5e5f8ca3bce0922bfe3e5ed8060762b",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788767242779,
  "updatedAt": 1788777299182
}
