Skip to main content

پیوست Q — بستهٔ دادهٔ مرجعِ نیروگاهِ P

همهٔ مثال‌های کتاب از یک بستهٔ دادهٔ نسخه‌دار می‌آیند: سری‌های ساعتیِ ساختگی، کارت‌های سناریو، تجهیزِ ساختگی، دفترِ فرض‌ها و نتیجه‌های مورد انتظار. هر فایل چکیدهٔ رمزنگاشتیِ SHA-256 دارد. بسته در فصلِ ۱ معرفی شد (بخش 1.4.3)، شیوهٔ ردیابیِ منشأ در فصلِ ۲ آمد (بخش 2.4.6)، و انتشارِ 1.1.0 در فصلِ ۵ ساخته شد (بخش 5.7.1). همهٔ نتیجه‌های این پیوست با برنامهٔ companion/appx/appendix_q.py از خودِ فایل‌های بسته خوانده و وارسی شده‌اند.

نکتهداده‌های ساختگی

بسته هیچ ساختگاه، شبکه یا محصولِ واقعی را نشان نمی‌دهد. مقدارها برای آموزش ساخته شده‌اند. هر مقداری که در طراحیِ واقعی به کار رود، باید از اندازه‌گیری، سازنده یا مرجعِ رسمی بیاید.

Q.1 فهرستِ بسته

manifest of release 1.1.0 (2026-11-15)
  status: synthetic teaching data; no real site, grid or product
  generator: companion/plantp_data/generate_release.py, seed 20260101
  site: 34.0 N, 1200 m, UTC+04:00; year label 2023
  time stamps: start of hour, local standard time, no daylight saving
  supersedes 1.0.0: minor release: additions only; all 1.0.0 time series,
    subsets, equipment files and scenarios byte-identical
  files: 21 (first 10 hex digits of the SHA-256, bytes)
    CHANGELOG.md                                       b6f1e5eb17     1,106
    README.md                                          f886a1c1c8     2,094
    assets/asset_register_rev_A.csv                    92b62b4f99    11,191
    assets/asset_register_rev_B.csv                    fa81125b06    11,646
    assets/change_notice.csv                           7a3a635893       784
    assumptions.csv                                    b2acc82b8a    10,526
    data_dictionary.csv                                af17f07dc8     3,023
    equipment/pv_module_PVM-550.yml                    f2406e7d1f       717
    equipment/wind_turbine_WT-5.0-150.yml              5b3a3a3dca       430
    equipment/wind_turbine_WT-5.0-150_power_curve.csv  672c82e3bf       558
    expected_results.json                              58960c141d       505
    raw/met_mast_10min_raw.csv                         124901d16c    24,843
    raw/met_mast_defects_key.csv                       3ecf512790       674
    raw/pv_scada_export.csv                            cb264bf754     2,380
    scenarios/S0-no-bess.yml                           1bbe995db7       223
    scenarios/S1-bess.yml                              876cf7179e       728
    seed_ratings.csv                                   a01926ec5a       691
    timeseries/plantp_hourly_8760.csv                  0b179863ba   637,995
    timeseries/subset_day_summer.csv                   423f5f9bb8     1,857
    timeseries/subset_day_winter.csv                   f1f8e28f47     1,817
    timeseries/subset_week_spring.csv                  4be27a853e    12,395

الگوی فهرستِ بسته. نام، انتشار، تاریخ، وضعیت (ساختگی، فرض‌شده، اندازه‌گیری‌شده، از سازنده، تأییدشده)، برنامهٔ سازنده و بذرِ تصادفی، ساختگاه و قراردادِ زمان، سناریوها، انتشارِ جایگزین‌شده و قاعدهٔ سازگاری، زیرمجموعه‌ها، و هر فایل با چکیده و اندازه.

Q.2 کارت‌های سناریو

scenario cards (every BESS exercise states these or the ones it changes)
  S0 no-BESS (assumed): PV 60 MWp DC / 50 MW AC; wind 60 MW (12 x WT-5.0-150);
    export 100 MW
      battery: none
  S1 BESS (assumed): PV 60 MWp DC / 50 MW AC; wind 60 MW (12 x WT-5.0-150);
    export 100 MW
      battery 20 MW / 40 MWh nominal, window 10-90 %, usable 32 MWh
      round trip 86 % AC, fade 2.0 %/yr, reserve 0 MWh
      charging: on-site PV and wind only; grid charging no

هر مثالِ باتری مقدارهای S1 را، یا آن‌هایی را که تغییر می‌دهد، صریح می‌نویسد. انرژیِ اسمیِ ۴۰ مگاوات‌ساعت با پنجرهٔ ۱۰ تا ۹۰ درصد، ۳۲ مگاوات‌ساعت انرژیِ قابلِ استفاده در آغازِ عمر می‌دهد.

Q.3 فرهنگِ داده

data dictionary: 25 rows (file, column, unit, status)
  timeseries/plantp_hourly_8760.csv
      timestamp                      ISO 8601     synthetic
      ghi_wm2                        W/m2         synthetic
      dni_wm2                        W/m2         synthetic
      dhi_wm2                        W/m2         synthetic
      t_air_c                        degC         synthetic
      ws_100m_ms                     m/s          synthetic
      ws_80m_ms                      m/s          synthetic
      ws_60m_ms                      m/s          synthetic
      wd_100m_deg                    deg          synthetic
      p_hpa                          hPa          synthetic
      qc_flag                        -            synthetic
  equipment/wind_turbine_WT-5.0-150_power_curve.csv
      wind_speed_ms                  m/s          synthetic
      power_kw                       kW           synthetic
  raw/met_mast_10min_raw.csv
      timestamp                      local time   synthetic
      ws100_avg ws80_avg ws60_avg    m/s          synthetic
      ws100_sd                       m/s          synthetic
      wd100_avg                      deg          synthetic
      t_air p_air ghi                degC hPa W/m synthetic
  raw/met_mast_defects_key.csv
      all                            -            synthetic
  raw/pv_scada_export.csv
      time_utc                       ISO 8601 UTC synthetic
      energy_kwh                     kWh          synthetic
      availability_pct               percent      synthetic
  assets/asset_register_rev_A.csv
      (13 fields)                    -            synthetic
  assets/asset_register_rev_B.csv
      (13 fields)                    -            synthetic
  assets/change_notice.csv
      (5 fields)                     -            synthetic

الگوی فرهنگِ داده. فایل، ستون، یکا، تعریف (میانگین یا لحظه‌ای، آغاز یا پایانِ بازه)، بازهٔ معتبر و وضعیت. فایلِ خامِ دکل زمان را با پایانِ بازه نشان می‌دهد و سری‌های ساعتی با آغازِ ساعت. همین تفاوت در فصلِ ۵ دامی برای هم‌ترازکردنِ زمان بود (بخش 5.2.12).

Q.4 وارسیِ نتیجه‌های مورد انتظار

expected results recomputed from the hourly file (tolerance 0.05 %)
  quantity                 expected   computed  check
  hours                     8760.00    8760.00  pass
  annual_ghi_kwh_m2         1947.20    1947.18  pass
  annual_dni_kwh_m2         2301.90    2301.93  pass
  max_ghi_wm2               1042.60    1042.60  pass
  mean_t_air_c                16.78      16.78  pass
  min_t_air_c                 -8.60      -8.60  pass
  max_t_air_c                 40.70      40.70  pass
  mean_ws_100m_ms              7.10       7.10  pass
  max_ws_100m_ms              24.28      24.28  pass
  mean_p_hpa                 877.67     877.67  pass
  10 of 10 pass; a failed check means the file or the reader changed

خواننده‌ای که بسته را با ابزارِ دیگری می‌خواند، همین ده عدد را باید بگیرد. اگر نگیرد، یا فایل تغییر کرده است، یا خواننده یکا، زمان یا ستون را نادرست خوانده است.

Q.5 نسخه، منشأ و ثبتِ اثرِ تغییر

releases and their checksum verification
  1.0.0: all checksums match
  1.1.0: all checksums match
  change log entries: 1.1.0 of 2026-11-15; 1.0.0 of 2026-11-14
  rule in the change log: additions only, backwards compatible ->
  minor release; each entry states its reason and the dependent
  artefacts (ch 5)
جدول Q.1: الگوی ثبتِ انتشار و اثرِ تغییر، پرشده برای دو انتشارِ بسته
انتشار تاریخ تغییر دلیل فایل‌های تغییرکرده نتیجه‌های وابسته وارسی
1.0.0 ۲۰۲۶-۱۱-۱۴ نخستین انتشار پایهٔ مثال‌ها همه — چکیده‌ها
1.1.0 ۲۰۲۶-۱۱-۱۵ دفترِ کاملِ فرض‌ها، فایل‌های خام، دفترهای دارایی آزمایشگاه‌های فصلِ ۵ فقط افزوده؛ سری‌ها بی تغییر فصل‌های ۱ تا ۴ و ۶ همچنان به 1.0.0 چکیده‌ها و بازسازی

نمونهٔ پرشده: بازسازیِ کلِ پروندهٔ فصلِ ۵۹ روی همین بسته.

rebuilding the capstone dossier in one run
  data pack 1.1.0: 0 checksum problems
  scripts run in order: index, dossier, defense, cases, cases2, cases3,
    cases4, cases5, cases6, cases7, cases8, cases9, integrated, sheets
  outputs: 63 text files; digest 0676363729e7
  second run of the core scripts: digest 0676363729e7 (same)
  same inputs, same seeds, same files: the dossier is reproducible;
  a changed digest names a changed input or model

تغییرِ یک مقدار در بسته انتشارِ تازه می‌خواهد، با دلیل، فایل‌های تغییرکرده و فهرستِ نتیجه‌هایی که باید دوباره حساب شوند. چکیدهٔ پرونده نشان می‌دهد کدام نتیجه‌ها جابه‌جا شده‌اند (بخش 59.17.2).