Skip to content

NicholasYe/Matlab_openclaw

Repository files navigation

EPE OpenClaw

Local-first MATLAB and Simulink control plane for power-system and power-electronics simulation workflows.

EPE OpenClaw follows an OpenClaw-style architecture: a long-lived Gateway, manifest-first plugins, lazy runtime loading, typed public APIs, durable run records, artifacts, and workflow skills. MATLAB and Simulink behavior lives in plugins, not in core.

中文: EPE OpenClaw 是一个本地优先的 MATLAB/Simulink 仿真控制平面,面向电力系统和电力电子工作流。它采用 OpenClaw 风格架构: 长生命周期 Gateway、manifest 优先的插件、懒加载 runtime、类型化公共 API、持久化 run record、artifact 和 workflow skills。MATLAB 与 Simulink 相关行为放在插件中,而不是放在 core 中。

Start Here

English 中文
Read the detailed bilingual guide first: docs/developer-guide.md. 请先阅读详细双语指南: docs/developer-guide.md
The first milestone workflow is documented in docs/matlab-simulink-power-app.md. 第一个里程碑工作流见 docs/matlab-simulink-power-app.md
Plugin ownership and boundaries are described in docs/plugin-boundaries.md. 插件职责边界见 docs/plugin-boundaries.md
Third-party SATK notes are in docs/third-party-notices.md. SATK 第三方说明见 docs/third-party-notices.md

Showcase Examples

The polished showcase cases are documented in examples/showcase/README.md:

  • Case A: two-terminal VSC HVDC system for power-system workflows.
  • Case B: three-phase inverter with an LCL filter for power-electronics workflows.
corepack pnpm exec tsx examples/showcase/run-showcase.ts all

中文: 完整展示案例见 examples/showcase/README.md, 包括 HVDC 系统案例和三相逆变器 LCL 滤波器案例。默认命令会运行当前安全控制平面, 不要求本机安装 MATLAB。

Quick Setup

corepack enable
corepack pnpm install
corepack pnpm build

中文:

corepack enable
corepack pnpm install
corepack pnpm build

Common Commands

# Show CLI help
corepack pnpm dev --help

# Run MATLAB and Simulink setup diagnostics
corepack pnpm doctor

# Start the local loopback Gateway
corepack pnpm gateway

# Invoke one public tool
corepack pnpm dev tool matlab_doctor '{}'

# Run one focused test file
corepack pnpm test test/manifest.test.ts

中文:

# 查看 CLI 帮助
corepack pnpm dev --help

# 运行 MATLAB 与 Simulink 环境诊断
corepack pnpm doctor

# 启动本地 loopback Gateway
corepack pnpm gateway

# 调用一个公共工具
corepack pnpm dev tool matlab_doctor '{}'

# 运行单个测试文件
corepack pnpm test test/manifest.test.ts

Current Milestone

English 中文
This milestone builds the safe control plane: plugin discovery, diagnostics, run records, artifacts, and SimulationInput planning. 当前里程碑实现安全控制平面: 插件发现、诊断、run record、artifact 和 SimulationInput 计划生成。
It does not directly execute live MATLAB/SATK simulation tool calls yet. 它目前还不会直接执行真实 MATLAB/SATK 仿真工具调用。
A simulation run can intentionally fail with SATK_MCP_UNAVAILABLE after writing useful artifacts. 仿真 run 可能在写入有用 artifact 后按设计返回 SATK_MCP_UNAVAILABLE

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors