본문으로 건너뛰기
cccskills
무료GitHub에 공개

unit-commitment-data-modeling

Use for parsing structured unit commitment input data from JSON, CSV, benchmark cases, spreadsheets, databases, or nested tables; finding fields for time periods, resources, load, reserve, generator limits, initial conditions, startup data, renewable availability, and production costs without assuming one source-specific schema.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md6.8 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Unit Commitment Structured Data Parsing

Use this skill when a unit commitment task provides structured data and you need to map fields into UC concepts. The source may be JSON, CSV, spreadsheets, database tables, or nested dictionaries. The prompt and schema are the source of truth; do not assume one benchmark or package.

Parsing Workflow

  1. Load data with structured parsers: JSON as objects, CSV/sheets as tables, databases as query results.
  2. Inspect schema: top-level keys, tables/sheets, resource groups, time-series fields, cost curves, startup tiers, and initial-condition fields.
  3. Identify the time axis: number of periods, labels, duration, and report convention.
  4. Identify resource sets: thermal, renewable, storage, imports, zones, reserve products, or network objects.
  5. Normalize fields into arrays/tables with explicit shapes.
  6. Preserve original names and source ordering for final reports.
  7. Run parser-level checks before modeling.

Map Concepts, Not Names

Different sources use different names. Map by meaning, units, shape, and context.

UC conceptLook for
Horizonperiods, hours, timestamps, interval count
Demandload, system demand, net load, zone load
Reserve requirementspinning, operating, contingency, regulation reserve
Resource setsthermal, renewable, storage, import/export
Commitment statuson/off, online, active, unit status
Output limitsminimum stable output, maximum output, availability
Rampingramp up/down, startup capability, shutdown capability
Minimum up/downrequired duration after start/stop
Initial conditionsinitial status, initial output, time already on/off
Must-runforced online, fixed status
Startup datafixed costs or tiers by prior offline duration
Production costlinear coefficients, heat rate, piecewise or total-cost curves
Renewable availabilityhourly min/max output or forecast bounds

Common Data Shapes

  • Scalar by resource: min up/down, ramp rates, startup ramp, must-run.
  • Time series by system/zone: demand and reserve requirement.
  • Time series by resource: renewable availability or outage status.
  • Curve/tier tables: startup costs and production-cost breakpoints.
  • Nested resource objects: generator-specific limits, status, and costs.

Normalize into a small representation:

case = {
    "periods": periods,                  # length T
    "thermal_names": thermal_names,      # length G, source order
    "renewable_names": renewable_names,  # length R, source order
    "demand": demand,                    # shape (T,)
    "reserve_requirement": reserve,       # shape (T,)
    "thermal": thermal_params,
    "renewable_min": renewable_min,       # shape (R, T)
    "renewable_max": renewable_max,       # shape (R, T)
}

Time, Ordering, And Units

  • Use the input horizon as authoritative.
  • Preserve source period order.
  • Keep zero-based internal indexes separate from one-based/timestamped report labels.
  • Verify every time-series length equals T.
  • Preserve resource order unless the prompt requires sorting.
  • Treat resource IDs as opaque strings.
  • Keep thermal and renewable sets separate when constraints differ.
  • Check power units, period duration, ramp-rate units, and cost units before converting anything.

Basic checks:

assert len(demand) == T
assert len(reserve_requirement) == T
for r in renewable_resources:
    assert len(r["min"]) == T
    assert len(r["max"]) == T

Production Convention

Many UC models use output above minimum internally, while reports often require actual MW.

actual_output = pmin * commitment + output_above_min
output_above_min = actual_output - pmin * commitment

Pick one internal convention and convert carefully for reporting, ramping, reserve deliverability, and cost.

Startup Tiers

Startup tiers are usually keyed by prior offline duration. Parse thresholds and costs without assuming order.

def choose_startup_tier(tiers, prior_offline_duration):
    tiers = sorted(tiers, key=lambda x: x["lag"])
    chosen = tiers[0]
    for tier in tiers:
        if tier["lag"] <= prior_offline_duration:
            chosen = tier
        else:
            break
    return chosen

Keep prior offline duration consistent with initial status and transition timing.

Cost Curves

Identify whether points are total cost, marginal cost, incremental segment cost, or heat-rate data. For total-cost breakpoints:

def interpolate_total_cost(points, output_mw):
    pts = sorted((float(p["mw"]), float(p["cost"])) for p in points)
    if output_mw <= pts[0][0]:
        return pts[0][1]
    if output_mw >= pts[-1][0]:
        return pts[-1][1]
    for (x0, y0), (x1, y1) in zip(pts, pts[1:]):
        if x0 <= output_mw <= x1:
            a = (output_mw - x0) / (x1 - x0)
            return y0 + a * (y1 - y0)
    raise ValueError("output outside cost curve")

If the first point is at minimum output, it may represent online minimum-output cost. Do not invent additional no-load or shutdown costs unless provided.

Renewables

  • Parse hourly minimum and maximum output.
  • If min equals max, output is fixed in that period.
  • If curtailment is allowed, output can be anywhere between min and max.
  • Do not count renewable headroom as spinning reserve unless explicitly allowed.
  • Renewable cost is zero unless the task/data says otherwise.

Parser-Level Validation

Before solving, check:

assert np.all(np.isfinite(demand))
assert np.all(np.isfinite(reserve_requirement))
assert np.all(thermal_pmin <= thermal_pmax)
assert np.all(renewable_min <= renewable_max)
assert all(len(curve) >= 2 for curve in production_curves.values())
assert all(len(tiers) >= 1 for tiers in startup_tiers.values())

Also check missing required fields, duplicate IDs, mismatched lengths, negative impossible limits, repeated cost points, nonmonotone startup lags, and inconsistent initial status/output.

Common Mistakes

  • Hard-coding a familiar schema instead of inspecting the data.
  • Losing ordering when converting dictionaries or tables into arrays.
  • Joining tables on the wrong key or duplicating resources.
  • Confusing total output with output above minimum.
  • Confusing reserve, capacity, availability, and dispatch.
  • Treating every cost curve as marginal cost.
  • Ignoring startup tier lags or initial offline duration.
  • Assuming renewable maximum output must always be used.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Perform various data analysis on SEC 13-F and obtain some insights of fund activities such as number of holdings, AUM, and change of holdings between two quarters.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

benchflow-ai/skillsbench1.9천2026년 10월 13일 업데이트

AC branch pi-model power flow equations (P/Q and |S|) with transformer tap ratio and phase shift, matching `acopf-math-model.md` and MATPOWER branch fields. Use when computing branch flows in either direction, aggregating bus injections for nodal balance, checking MVA (rateA) limits, computing branch loading %, or debugging sign/units issues in AC power flow.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

benchflow-ai/skillsbench1.9천2026년 10월 13일 업데이트

Redact text from PDF documents for blind review anonymization

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

benchflow-ai/skillsbench1.9천2026년 10월 13일 업데이트

Use when checking simplified ADA-derived plan-view bathroom accessibility constraints such as turning space, door clear width, toilet centerline, grab bars, and lavatory knee/toe clearance.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

benchflow-ai/skillsbench1.9천2026년 10월 13일 업데이트

Analyze failed GitHub Action jobs for a pull request.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

benchflow-ai/skillsbench1.9천2026년 10월 13일 업데이트

Use when extracting plan-view architectural geometry from DXF files with semantic CAD layers, especially when outputs must normalize rooms, doors, fixtures, clearances, and grab bars into machine-checkable JSON.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

benchflow-ai/skillsbench1.9천2026년 10월 13일 업데이트

benchflow-ai의 스킬 모두 보기

이 스킬의 문제 신고