Skip to content
@fusion-yun

FuYun 知识系统

面向科学工程的知识系统

FuYun

「“神马”都是“浮云”」

发布站点 · FyLite 在线演示 · fylite


FuYun(浮云) 是一套面向聚变研究与工程的集成建模软件。托卡马克集成建模需要在异构数据结构、 物理模型和计算环境之间保持一致的物理语义:FyTok 是其中的集成建模与分析框架,以本体层 fyo 作为统一语义契约——物理量按语义路径寻址,物理模型通过插件接口接入,原生实现、外部 程序封装与神经网络代理可在同一接口下互换。

求解范围覆盖定边界、自由边界及演化平衡,1.5D 芯部输运(新经典与准线性湍流)、H&CD 源项和 动理学平衡重构,形成从实验数据读取到剖面演化预测的建模链路。

语义契约:fyo

在结构层面,fyo 与 IMAS 数据字典(DD v4)的 82 个数据集模式逐项映射,既有 DD 数据无需改写 即可读写。在语义层面,fyo 以 BFO(ISO/IEC 21838-2)为顶层框架,把装置、放电、诊断、数据集 及研究任务建模为相互关联的本体对象,并显式记录数据所描述的对象、模态及生成过程,从而支持机器 可读、可推理和可追溯的 AI4Sci 工作流。

两级实现

同一份语义契约有两级实现。全功能端 FyTok(Python)面向多物理集成及超算、云计算环境; 轻量端 fylite 以 Rust 重构关键求解器,面向亚秒量级响应的快速设计、参数扫描与浏览器端分析, 并作为全功能端的最小功能验证。两端遵循同一契约、彼此独立实现,因而端间对比构成代码间交叉校核, 而非自证。

  • 一套数据约定,跨装置通用。 装置几何、线圈与诊断布置、放电数据按 IMAS 数据字典组织; 在 EAST 上写好的分析流程,换到另一台装置不必重写。
  • 物理模块可替换。 平衡、输运、源项等各自成块,以插件方式注册;只换掉其中一个再跑一遍 作对照,不必改动整条链路。
  • 算完能说清怎么来的。 输入数据、代码版本与判定依据随结果一起留档,便于复算、横向对比, 以及成文时交代清楚。

物理模块依据公开文献和开源实现进行白盒移植,并依次开展模块级参考基准、代码间交叉比对 与装置级算例校核;EAST 动理学平衡重构与 ITER 15 MA 时序演化两例见 发布站点。

主仓与内核

轻量端以 fusion-yun/fylite 为主仓:装配层、 浏览器前端、文档、算例与工具都在其中,公开。计算内核是其下的一个可替代部件——经一条 带版本的 ABI 边界接入,主仓按契约调用、不依赖某一份具体实现;换一份内核,主仓与建在它上面的 分析流程不随之改动。当前内核源码未发布,对外的是它的制品与记录答案:浏览器端运行的 WebAssembly 模块,以及可据以复算的基准记录。

这条边界同时是校核边界。轻量端与全功能端是同一语义契约的两份独立实现,端间对比因而是代码间 交叉校核;内核可替代,意味着这种对比不必以某一份实现为准绳。

公开面

本组织对外公开的是 fylite 轻量端,其余源码仓未公开。

入口 内容
fusion-yun.github.io 发布站点:构成、状态、代表性结果与许可说明
FyLite 在线演示 关键求解器编译为 WebAssembly,在浏览器内计算;无需安装、无需联网算力,输入与结果保留在本机,单次求解约一到两秒
fusion-yun/fylite fylite 主仓:装配层、浏览器前端、文档、算例与报障入口;计算内核作为可替代部件经 ABI 接入,其源码不发布

报障请在 fylite 仓 提 issue。内核源码不公开, 复现一份报告取决于知道跑的是哪个二进制:请附演示页页脚的 kernel … · interface … · app … 一行与致谢页上的内核 sha256。


In brief (English)

FuYun is integrated-modelling software for fusion research and engineering. FyTok, its integrated modelling and analysis framework, uses the ontology layer fyo as a single semantic contract: quantities are addressed by semantic path, and physics models plug in behind one interface, so a native implementation, a wrapped external code and a neural-network surrogate are interchangeable. Structurally, fyo maps one-to-one onto the 82 dataset schemas of the IMAS Data Dictionary (DD v4), so existing DD data is read and written unchanged; semantically, it models machines, discharges, diagnostics, datasets and research tasks as related ontological objects, recording what each dataset is about, by which modality and through which process — the basis for machine-readable, inferable and traceable AI4Sci workflows.

Solvers cover fixed-boundary, free-boundary and evolving equilibrium, 1.5-D core transport (neoclassical and quasi-linear turbulence), heating and current-drive sources, and kinetic equilibrium reconstruction. Two implementations share the one contract: the full-capability end (Python, for HPC and cloud) and the lightweight end fylite (Rust kernels, sub-second, in the browser), which doubles as the minimal functional verification of the former; because the two are independent implementations of the same contract, comparing them is a code-to-code cross-check. Within the lightweight end, fusion-yun/fylite is the main repository and the compute kernel is a replaceable component behind a versioned ABI: the repository calls the contract, not one particular kernel. The kernel source is not published; what is published is its artifacts and its recorded answers. Verification proceeds in stages — module-level reference benchmarks, code-to-code comparison, and device-level cases such as an EAST kinetic reconstruction and an ITER 15 MA time-dependent run.

One part is published. FyLite runs tokamak discharge design and kinetic equilibrium reconstruction entirely in the browser, with nothing to install and no data leaving the machine. The other source repositories are not public; see the site licence notice for the per-path terms.


Copyright © 2023–2026 中国科学院合肥物质科学研究院等离子体物理研究所(ASIPP)
Institute of Plasma Physics, Chinese Academy of Sciences
本仓内容以 Apache License 2.0 发布; 各项目与站点分别适用其自身许可。

Popular repositories Loading

  1. fusion-yun.github.io fusion-yun.github.io Public

    JavaScript 3

  2. FyRepos FyRepos Public

    This repository aims to open the metadata description information corresponding to the software building process in our application scenario without involving the source code and copyright.

    Roff

  3. FyDevops FyDevops Public

    Toolset for environment of an integrated modeling software suite

    Python

  4. .github .github Public

  5. fylite fylite Public

    fylite — EAST equilibrium reconstruction and discharge-scenario package: examples, user docs, and release artifacts

    Python

  6. fuyun fuyun Public

    浮云 fuyun — 聚变领域科学数据与计算平台的公开窗口:功能介绍与反馈 · Public window of the fuyun fusion data platform

Repositories

Showing 6 of 6 repositories

Top languages

Loading…

Most used topics

Loading…