<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>线性规划 on Techunder</title>
    <link>https://techunder.tech/docs/01-linear-programming/</link>
    <description>Recent content in 线性规划 on Techunder</description>
    <generator>Hugo</generator>
    <language>zh-CN</language>
    <atom:link href="https://techunder.tech/docs/01-linear-programming/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>线性规划</title>
      <link>https://techunder.tech/docs/01-linear-programming/01-linear-programming/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://techunder.tech/docs/01-linear-programming/01-linear-programming/</guid>
      <description>&lt;!-- Copyright © 2026 Techunder (Guanhua Liu) | All Rights Reserved | https://techunder.tech | Email: techunder@163.com --&gt;&#xA;&lt;div class=&#34;page-title&#34;&gt;线性规划&lt;/div&gt;&#xA;&lt;div class=&#34;page-info&#34;&gt;&#xA;   &lt;span class=&#34;original-tag&#34;&gt;原创&lt;/span&gt;&#xA;  发布时间：2026-05-07 | 更新时间：2026-06-08&#xA;&lt;/div&gt;&#xA;&lt;link rel=&#34;stylesheet&#34; href=&#34;https://techunder.tech/katex/katex.min.css&#34; /&gt;&lt;script defer src=&#34;https://techunder.tech/katex/katex.min.js&#34;&gt;&lt;/script&gt;&lt;script defer src=&#34;https://techunder.tech/katex/auto-render.min.js&#34; onload=&#34;renderMathInElement(document.body, {&amp;#34;delimiters&amp;#34;:[{&amp;#34;left&amp;#34;:&amp;#34;$&amp;#34;,&amp;#34;right&amp;#34;:&amp;#34;$&amp;#34;,&amp;#34;display&amp;#34;:false},{&amp;#34;left&amp;#34;:&amp;#34;$$&amp;#34;,&amp;#34;right&amp;#34;:&amp;#34;$$&amp;#34;,&amp;#34;display&amp;#34;:true},{&amp;#34;left&amp;#34;:&amp;#34;\\[&amp;#34;,&amp;#34;right&amp;#34;:&amp;#34;\\]&amp;#34;,&amp;#34;display&amp;#34;:true}]});&#34;&gt;&lt;/script&gt;&#xA;&lt;p&gt;&lt;strong&gt;线性规划&lt;/strong&gt;（Linear Programming）在工程领域中随处可见，是在有限资源的情况寻找最优解的方法。&lt;/p&gt;&#xA;&lt;blockquote class=&#39;book-hint warning&#39;&gt;&#xA;&lt;p&gt;目标函数和限制条件都必须是线性方程 / 线性不等式（最高次项为1）才能称为线性规划&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;典型场景：&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;生产计划：有限原料下最大化利润&lt;/li&gt;&#xA;&lt;li&gt;配送路线：最小化运输成本&lt;/li&gt;&#xA;&lt;li&gt;投资组合：在风险约束下最大化收益&lt;/li&gt;&#xA;&lt;li&gt;人力排班：满足需求下最小化人工成本&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;下面通过一个简单的例子说明&lt;/p&gt;&#xA;&lt;h1 id=&#34;现实例子&#34;&gt;现实例子&lt;a class=&#34;anchor&#34; href=&#34;#%e7%8e%b0%e5%ae%9e%e4%be%8b%e5%ad%90&#34;&gt;#&lt;/a&gt;&lt;/h1&gt;&#xA;&lt;p&gt;某工厂生产两种产品&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;产品 A: 利润 3 万元/件，消耗资源1: 2 单位，消耗资源2: 1 单位&lt;/li&gt;&#xA;&lt;li&gt;产品 B: 利润 5 万元/件，消耗资源1: 1 单位，消耗资源2: 2 单位&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;资源 1 总量 10 单位，资源 2 总量 8 单位&lt;/p&gt;&#xA;&lt;p&gt;请问应该如何安排生产，令利润最大化？&lt;/p&gt;&#xA;&lt;h1 id=&#34;数学表达&#34;&gt;数学表达&lt;a class=&#34;anchor&#34; href=&#34;#%e6%95%b0%e5%ad%a6%e8%a1%a8%e8%be%be&#34;&gt;#&lt;/a&gt;&lt;/h1&gt;&#xA;&lt;p&gt;线性规划通常把问题拆解如下：&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;&lt;strong&gt;决策变量&lt;/strong&gt;：就是求解的目标（decision variables），对应上面的产品 A 的生产数量（设为 $x$）和产品 B 的生产数量（设为 $y$），本例就是求 $argmax_{x,y}\left(3x+5y\right)$&lt;/p&gt;</description>
    </item>
    <item>
      <title>非线性规划</title>
      <link>https://techunder.tech/docs/01-linear-programming/02-nonlinear-programming/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://techunder.tech/docs/01-linear-programming/02-nonlinear-programming/</guid>
      <description>&lt;!-- Copyright © 2026 Techunder (Guanhua Liu) | All Rights Reserved | https://techunder.tech | Email: techunder@163.com --&gt;&#xA;&lt;div class=&#34;page-title&#34;&gt;非线性规划&lt;/div&gt;&#xA;&lt;div class=&#34;page-info&#34;&gt;&#xA;   &lt;span class=&#34;original-tag&#34;&gt;原创&lt;/span&gt;&#xA;  发布时间：2026-06-15 | 更新时间：2026-06-15&#xA;&lt;/div&gt;&#xA;&#xA;&lt;p&gt;现实生活中，有些问题是非线性的，这就是非线性规划（Nonlinear Programming）&lt;/p&gt;&#xA;&lt;p&gt;(关于基础概念和符号定义请看前文&lt;a href=&#34;../01-linear-programming/&#34;&gt;线性规划（Linear Programming）&lt;/a&gt;)&lt;/p&gt;&#xA;&lt;h1 id=&#34;现实例子&#34;&gt;现实例子&lt;a class=&#34;anchor&#34; href=&#34;#%e7%8e%b0%e5%ae%9e%e4%be%8b%e5%ad%90&#34;&gt;#&lt;/a&gt;&lt;/h1&gt;&#xA;&lt;p&gt;老王是一名农夫，他想紧靠着屋墙围出一块长方形的地方养鸡。&lt;/p&gt;&#xA;&lt;p&gt;他想围出尽可能大的地方，而手头上只有 8 米的篱笆，靠墙一侧不需要围栏。&lt;/p&gt;&#xA;&lt;p&gt;请问他该如何设计长方形的边长才能围出最大面积的围栏？&lt;/p&gt;&#xA;&lt;svg width=&#34;400&#34; height=&#34;320&#34; viewBox=&#34;0 0 10 8&#34; style=&#34;background:#FFFFFF;&#34;&gt;&#xA;  &lt;!-- wall --&gt;&#xA;  &lt;line x1=&#34;0&#34; y1=&#34;6&#34; x2=&#34;10&#34; y2=&#34;6&#34; stroke=&#34;#333&#34; stroke-width=&#34;0.12&#34;/&gt;&#xA;  &lt;line x1=&#34;0.0&#34; y1=&#34;6.2&#34; x2=&#34;0.2&#34; y2=&#34;6&#34; stroke=&#34;#333&#34; stroke-width=&#34;0.03&#34;/&gt;&#xA;  &lt;line x1=&#34;0.2&#34; y1=&#34;6.2&#34; x2=&#34;0.4&#34; y2=&#34;6&#34; stroke=&#34;#333&#34; stroke-width=&#34;0.03&#34;/&gt;&#xA;  &lt;line x1=&#34;0.4&#34; y1=&#34;6.2&#34; x2=&#34;0.6&#34; y2=&#34;6&#34; stroke=&#34;#333&#34; stroke-width=&#34;0.03&#34;/&gt;&#xA;  &lt;line x1=&#34;0.6&#34; y1=&#34;6.2&#34; x2=&#34;0.8&#34; y2=&#34;6&#34; stroke=&#34;#333&#34; stroke-width=&#34;0.03&#34;/&gt;&#xA;  &lt;line x1=&#34;0.8&#34; y1=&#34;6.2&#34; x2=&#34;1.0&#34; y2=&#34;6&#34; stroke=&#34;#333&#34; stroke-width=&#34;0.03&#34;/&gt;&#xA;  &lt;line x1=&#34;1.0&#34; y1=&#34;6.2&#34; x2=&#34;1.2&#34; y2=&#34;6&#34; stroke=&#34;#333&#34; stroke-width=&#34;0.03&#34;/&gt;&#xA;  &lt;line x1=&#34;1.2&#34; y1=&#34;6.2&#34; x2=&#34;1.4&#34; y2=&#34;6&#34; stroke=&#34;#333&#34; stroke-width=&#34;0.03&#34;/&gt;&#xA;  &lt;line x1=&#34;1.4&#34; y1=&#34;6.2&#34; x2=&#34;1.6&#34; y2=&#34;6&#34; stroke=&#34;#333&#34; stroke-width=&#34;0.03&#34;/&gt;&#xA;  &lt;line x1=&#34;1.6&#34; y1=&#34;6.2&#34; x2=&#34;1.8&#34; y2=&#34;6&#34; stroke=&#34;#333&#34; stroke-width=&#34;0.03&#34;/&gt;&#xA;  &lt;line x1=&#34;1.8&#34; y1=&#34;6.2&#34; x2=&#34;2.0&#34; y2=&#34;6&#34; stroke=&#34;#333&#34; stroke-width=&#34;0.03&#34;/&gt;&#xA;  &lt;line x1=&#34;2.0&#34; y1=&#34;6.2&#34; x2=&#34;2.2&#34; y2=&#34;6&#34; stroke=&#34;#333&#34; stroke-width=&#34;0.03&#34;/&gt;&#xA;  &lt;line x1=&#34;2.2&#34; y1=&#34;6.2&#34; x2=&#34;2.4&#34; y2=&#34;6&#34; stroke=&#34;#333&#34; stroke-width=&#34;0.03&#34;/&gt;&#xA;  &lt;line x1=&#34;2.4&#34; y1=&#34;6.2&#34; x2=&#34;2.6&#34; y2=&#34;6&#34; stroke=&#34;#333&#34; stroke-width=&#34;0.03&#34;/&gt;&#xA;  &lt;line x1=&#34;2.6&#34; y1=&#34;6.2&#34; x2=&#34;2.8&#34; y2=&#34;6&#34; stroke=&#34;#333&#34; stroke-width=&#34;0.03&#34;/&gt;&#xA;  &lt;line x1=&#34;2.8&#34; y1=&#34;6.2&#34; x2=&#34;3.0&#34; y2=&#34;6&#34; stroke=&#34;#333&#34; stroke-width=&#34;0.03&#34;/&gt;&#xA;  &lt;line x1=&#34;3.0&#34; y1=&#34;6.2&#34; x2=&#34;3.2&#34; y2=&#34;6&#34; stroke=&#34;#333&#34; stroke-width=&#34;0.03&#34;/&gt;&#xA;  &lt;line x1=&#34;3.2&#34; y1=&#34;6.2&#34; x2=&#34;3.4&#34; y2=&#34;6&#34; stroke=&#34;#333&#34; stroke-width=&#34;0.03&#34;/&gt;&#xA;  &lt;line x1=&#34;3.4&#34; y1=&#34;6.2&#34; x2=&#34;3.6&#34; y2=&#34;6&#34; stroke=&#34;#333&#34; stroke-width=&#34;0.03&#34;/&gt;&#xA;  &lt;line x1=&#34;3.6&#34; y1=&#34;6.2&#34; x2=&#34;3.8&#34; y2=&#34;6&#34; stroke=&#34;#333&#34; stroke-width=&#34;0.03&#34;/&gt;&#xA;  &lt;line x1=&#34;3.8&#34; y1=&#34;6.2&#34; x2=&#34;4.0&#34; y2=&#34;6&#34; stroke=&#34;#333&#34; stroke-width=&#34;0.03&#34;/&gt;&#xA;  &lt;line x1=&#34;4.0&#34; y1=&#34;6.2&#34; x2=&#34;4.2&#34; y2=&#34;6&#34; stroke=&#34;#333&#34; stroke-width=&#34;0.03&#34;/&gt;&#xA;  &lt;line x1=&#34;4.2&#34; y1=&#34;6.2&#34; x2=&#34;4.4&#34; y2=&#34;6&#34; stroke=&#34;#333&#34; stroke-width=&#34;0.03&#34;/&gt;&#xA;  &lt;line x1=&#34;4.4&#34; y1=&#34;6.2&#34; x2=&#34;4.6&#34; y2=&#34;6&#34; stroke=&#34;#333&#34; stroke-width=&#34;0.03&#34;/&gt;&#xA;  &lt;line x1=&#34;4.6&#34; y1=&#34;6.2&#34; x2=&#34;4.8&#34; y2=&#34;6&#34; stroke=&#34;#333&#34; stroke-width=&#34;0.03&#34;/&gt;&#xA;  &lt;line x1=&#34;4.8&#34; y1=&#34;6.2&#34; x2=&#34;5.0&#34; y2=&#34;6&#34; stroke=&#34;#333&#34; stroke-width=&#34;0.03&#34;/&gt;&#xA;  &lt;line x1=&#34;5.0&#34; y1=&#34;6.2&#34; x2=&#34;5.2&#34; y2=&#34;6&#34; stroke=&#34;#333&#34; stroke-width=&#34;0.03&#34;/&gt;&#xA;  &lt;line x1=&#34;5.2&#34; y1=&#34;6.2&#34; x2=&#34;5.4&#34; y2=&#34;6&#34; stroke=&#34;#333&#34; stroke-width=&#34;0.03&#34;/&gt;&#xA;  &lt;line x1=&#34;5.4&#34; y1=&#34;6.2&#34; x2=&#34;5.6&#34; y2=&#34;6&#34; stroke=&#34;#333&#34; stroke-width=&#34;0.03&#34;/&gt;&#xA;  &lt;line x1=&#34;5.6&#34; y1=&#34;6.2&#34; x2=&#34;5.8&#34; y2=&#34;6&#34; stroke=&#34;#333&#34; stroke-width=&#34;0.03&#34;/&gt;&#xA;  &lt;line x1=&#34;5.8&#34; y1=&#34;6.2&#34; x2=&#34;6.0&#34; y2=&#34;6&#34; stroke=&#34;#333&#34; stroke-width=&#34;0.03&#34;/&gt;&#xA;  &lt;line x1=&#34;6.0&#34; y1=&#34;6.2&#34; x2=&#34;6.2&#34; y2=&#34;6&#34; stroke=&#34;#333&#34; stroke-width=&#34;0.03&#34;/&gt;&#xA;  &lt;line x1=&#34;6.2&#34; y1=&#34;6.2&#34; x2=&#34;6.4&#34; y2=&#34;6&#34; stroke=&#34;#333&#34; stroke-width=&#34;0.03&#34;/&gt;&#xA;  &lt;line x1=&#34;6.4&#34; y1=&#34;6.2&#34; x2=&#34;6.6&#34; y2=&#34;6&#34; stroke=&#34;#333&#34; stroke-width=&#34;0.03&#34;/&gt;&#xA;  &lt;line x1=&#34;6.6&#34; y1=&#34;6.2&#34; x2=&#34;6.8&#34; y2=&#34;6&#34; stroke=&#34;#333&#34; stroke-width=&#34;0.03&#34;/&gt;&#xA;  &lt;line x1=&#34;6.8&#34; y1=&#34;6.2&#34; x2=&#34;7.0&#34; y2=&#34;6&#34; stroke=&#34;#333&#34; stroke-width=&#34;0.03&#34;/&gt;&#xA;  &lt;line x1=&#34;7.0&#34; y1=&#34;6.2&#34; x2=&#34;7.2&#34; y2=&#34;6&#34; stroke=&#34;#333&#34; stroke-width=&#34;0.03&#34;/&gt;&#xA;  &lt;line x1=&#34;7.2&#34; y1=&#34;6.2&#34; x2=&#34;7.4&#34; y2=&#34;6&#34; stroke=&#34;#333&#34; stroke-width=&#34;0.03&#34;/&gt;&#xA;  &lt;line x1=&#34;7.4&#34; y1=&#34;6.2&#34; x2=&#34;7.6&#34; y2=&#34;6&#34; stroke=&#34;#333&#34; stroke-width=&#34;0.03&#34;/&gt;&#xA;  &lt;line x1=&#34;7.6&#34; y1=&#34;6.2&#34; x2=&#34;7.8&#34; y2=&#34;6&#34; stroke=&#34;#333&#34; stroke-width=&#34;0.03&#34;/&gt;&#xA;  &lt;line x1=&#34;7.8&#34; y1=&#34;6.2&#34; x2=&#34;8.0&#34; y2=&#34;6&#34; stroke=&#34;#333&#34; stroke-width=&#34;0.03&#34;/&gt;&#xA;  &lt;line x1=&#34;8.0&#34; y1=&#34;6.2&#34; x2=&#34;8.2&#34; y2=&#34;6&#34; stroke=&#34;#333&#34; stroke-width=&#34;0.03&#34;/&gt;&#xA;  &lt;line x1=&#34;8.2&#34; y1=&#34;6.2&#34; x2=&#34;8.4&#34; y2=&#34;6&#34; stroke=&#34;#333&#34; stroke-width=&#34;0.03&#34;/&gt;&#xA;  &lt;line x1=&#34;8.4&#34; y1=&#34;6.2&#34; x2=&#34;8.6&#34; y2=&#34;6&#34; stroke=&#34;#333&#34; stroke-width=&#34;0.03&#34;/&gt;&#xA;  &lt;line x1=&#34;8.6&#34; y1=&#34;6.2&#34; x2=&#34;8.8&#34; y2=&#34;6&#34; stroke=&#34;#333&#34; stroke-width=&#34;0.03&#34;/&gt;&#xA;  &lt;line x1=&#34;8.8&#34; y1=&#34;6.2&#34; x2=&#34;9.0&#34; y2=&#34;6&#34; stroke=&#34;#333&#34; stroke-width=&#34;0.03&#34;/&gt;&#xA;  &lt;line x1=&#34;9.0&#34; y1=&#34;6.2&#34; x2=&#34;9.2&#34; y2=&#34;6&#34; stroke=&#34;#333&#34; stroke-width=&#34;0.03&#34;/&gt;&#xA;  &lt;line x1=&#34;9.2&#34; y1=&#34;6.2&#34; x2=&#34;9.4&#34; y2=&#34;6&#34; stroke=&#34;#333&#34; stroke-width=&#34;0.03&#34;/&gt;&#xA;  &lt;line x1=&#34;9.4&#34; y1=&#34;6.2&#34; x2=&#34;9.6&#34; y2=&#34;6&#34; stroke=&#34;#333&#34; stroke-width=&#34;0.03&#34;/&gt;&#xA;  &lt;line x1=&#34;9.6&#34; y1=&#34;6.2&#34; x2=&#34;9.8&#34; y2=&#34;6&#34; stroke=&#34;#333&#34; stroke-width=&#34;0.03&#34;/&gt;&#xA;  &lt;line x1=&#34;9.8&#34; y1=&#34;6.2&#34; x2=&#34;10.0&#34; y2=&#34;6&#34; stroke=&#34;#333&#34; stroke-width=&#34;0.03&#34;/&gt;&#xA;  &lt;text x=&#34;4.7&#34; y=&#34;6.8&#34; font-size=&#34;0.4&#34; fill=&#34;#333&#34;&gt;Wall&lt;/text&gt;&#xA;  &lt;!-- length --&gt;&#xA;  &lt;line x1=&#34;3&#34; y1=&#34;3&#34; x2=&#34;7&#34; y2=&#34;3&#34; stroke=&#34;#333&#34; stroke-width=&#34;0.05&#34;/&gt;&#xA;  &lt;text x=&#34;4.9&#34; y=&#34;2.8&#34; font-size=&#34;0.4&#34; fill=&#34;#333&#34;&gt;x&lt;/text&gt;&#xA;  &lt;!-- width --&gt;&#xA;  &lt;line x1=&#34;3&#34; y1=&#34;3&#34; x2=&#34;3&#34; y2=&#34;6&#34; stroke=&#34;#333&#34; stroke-width=&#34;0.05&#34;/&gt;&#xA;  &lt;line x1=&#34;7&#34; y1=&#34;3&#34; x2=&#34;7&#34; y2=&#34;6&#34; stroke=&#34;#333&#34; stroke-width=&#34;0.05&#34;/&gt;&#xA;  &lt;text x=&#34;2.6&#34; y=&#34;4.5&#34; font-size=&#34;0.4&#34; fill=&#34;#333&#34;&gt;y&lt;/text&gt;&#xA;  &lt;text x=&#34;7.2&#34; y=&#34;4.5&#34; font-size=&#34;0.4&#34; fill=&#34;#333&#34;&gt;y&lt;/text&gt;&#xA;  &lt;!-- polygon filled --&gt;&#xA;  &lt;polygon &#xA;    points=&#34;3,3 7,3 7,6 3,6&#34; &#xA;    fill=&#34;rgba(255, 230, 80, 0.4)&#34; &#xA;    stroke=&#34;red&#34; &#xA;    stroke-width=&#34;0&#34;&#xA;  /&gt;&#xA;&lt;/svg&gt;&#xA;&lt;h1 id=&#34;数学表达&#34;&gt;数学表达&lt;a class=&#34;anchor&#34; href=&#34;#%e6%95%b0%e5%ad%a6%e8%a1%a8%e8%be%be&#34;&gt;#&lt;/a&gt;&lt;/h1&gt;&#xA;&lt;p&gt;问题拆解如下：&lt;/p&gt;</description>
    </item>
    <item>
      <title>家庭能源优化</title>
      <link>https://techunder.tech/docs/01-linear-programming/03-lp-example/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://techunder.tech/docs/01-linear-programming/03-lp-example/</guid>
      <description>&lt;!-- Copyright © 2026 Techunder (Guanhua Liu) | All Rights Reserved | https://techunder.tech | Email: techunder@163.com --&gt;&#xA;&lt;div class=&#34;page-title&#34;&gt;家庭能源优化&lt;/div&gt;&#xA;&lt;div class=&#34;page-info&#34;&gt;&#xA;   &lt;span class=&#34;original-tag&#34;&gt;原创&lt;/span&gt;&#xA;  发布时间：2026-05-13 | 更新时间：2026-05-14&#xA;&lt;/div&gt;&#xA;&#xA;&lt;p&gt;本文以一个有光伏发电设备和储能设备的家庭能源优化为例子，讲一下线性规划的应用。&lt;/p&gt;&#xA;&lt;h1 id=&#34;系统架构&#34;&gt;系统架构&lt;a class=&#34;anchor&#34; href=&#34;#%e7%b3%bb%e7%bb%9f%e6%9e%b6%e6%9e%84&#34;&gt;#&lt;/a&gt;&lt;/h1&gt;&#xA;&lt;p&gt;家庭每天的电，&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;来源&lt;/strong&gt;就三种：&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;电网购电（电力公司卖的）&lt;/li&gt;&#xA;&lt;li&gt;光伏发电（太阳给的）&lt;/li&gt;&#xA;&lt;li&gt;电池放电（自己存起来的）&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;&lt;strong&gt;去向&lt;/strong&gt;也对应三种：&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;家里用掉（各种电器）&lt;/li&gt;&#xA;&lt;li&gt;存进电池（先存着以后用）&lt;/li&gt;&#xA;&lt;li&gt;卖给电网（多余的电卖掉）&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;能量流动图：&lt;/p&gt;&#xA;&lt;pre class=&#34;mermaid&#34;&gt;flowchart LR&#xA;    Grid[&amp;#34;⚡ 供电电网&amp;#34;]&#xA;    PV[&amp;#34;🌞 光伏设备&amp;#34;]&#xA;    Battery[&amp;#34;🔋 储能电池&amp;#34;]&#xA;    Appliance[&amp;#34;📺 用电设备&amp;#34;]&#xA;&#xA;    Grid    e1@--购电--&amp;gt; Appliance&#xA;    PV      e2@--充电--&amp;gt; Battery&#xA;    PV      e3@--供电--&amp;gt; Appliance&#xA;    Battery e4@--放电--&amp;gt; Appliance&#xA;    Battery e5@--售电--&amp;gt; Grid&#xA;&#xA;    style Grid      fill:#e6f7ff,stroke:#1890ff,stroke-width:2px,rx:10&#xA;    style PV        fill:#f0fff4,stroke:#52c41a,stroke-width:2px,rx:10&#xA;    style Battery   fill:#fffbe6,stroke:#faad14,stroke-width:2px,rx:10&#xA;    style Appliance fill:#f5f5f5,stroke:#8c8c8c,stroke-width:2px,rx:10&#xA;&#xA;    e1@{ animate: true }&#xA;    e2@{ animate: true }&#xA;    e3@{ animate: true }&#xA;    e4@{ animate: true }&#xA;    e5@{ animate: true }&lt;/pre&gt;&lt;p&gt;加上逆变器后的部署图：&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
