Skip to content

Block spec: inputs/outputs declaration syntax #150

@pesap

Description

@pesap

Description

Define block interface syntax for composable KDL:

block "economic-dispatch" {
    input demand "MW"
    input fuel-cost "$/MMBtu"  
    output generation "MW"
    // internal model...
}
  • Type system for inputs/outputs (scalar, vector, time-series)
  • Validation that all inputs wired, all outputs produced
  • Documentation strings for ports

Acceptance Criteria

  • Parser accepts block declarations
  • Semantic validation for port types
  • Error on missing input wiring

Context

Part of v0.9 (Composable KDL). Foundation for reusable model components.

Target: v0.9

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestkdlv0.9Version 0.9: Composable KDL

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions