POWER PATH调试记录

[root@db2 pp]# /etc/init.d/PowerPath start                                      
Starting PowerPath:  done                                                       

[root@db2 pp]# emcpreg -install                                                 


===========   EMC PowerPath Registration ===========                            
Do you have a new registration key or keys to enter?[n] yes                     
                  Enter the registration keys(s) for your product(s),           
                  one per line, pressing Enter after each key.                  
                  After typing all keys, press Enter again.                     


Key (Enter if done):  ...............................                             
1 key(s) successfully added.                                                    
Key successfully installed.                                                     

Key (Enter if done):                                                            
1 key(s) successfully registered.                                               
[root@db2 pp]#                                                                  
[root@db2 pp]# powermt display dev=all                                          

[root@db2 pp]# powermt set policy=co  

[root@db2 pp]# powermt display dev=all                                          

powermt save
[root@zzkjmydb1 ~]# fdisk -l | grep emc

WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.

Disk /dev/emcpowerc: 1395.9 GB, 1395864371200 bytes
Disk /dev/emcpowerg: 2147 MB, 2147483648 bytes
Disk /dev/emcpowerf: 2147 MB, 2147483648 bytes
Disk /dev/emcpowere: 2147 MB, 2147483648 bytes
Disk /dev/emcpowerd: 6597.1 GB, 6597069766656 bytes
Disk /dev/emcpowera: 1395.9 GB, 1395864371200 bytes
Disk /dev/emcpowerb: 6597.1 GB, 6597069766656 bytes
[root@zzkjmydb1 ~]# powermt display dev=all
Pseudo name=emcpowera
VNX ID=CETV2153000067 [DB]
Logical device ID=600601606B803D00BA61F7488171E511 [FRA2]
state=alive; policy=CLAROpt; queued-IOs=0
Owner: default=SP B, current=SP B       Array failover mode: 4
==============================================================================
--------------- Host ---------------   - Stor -  -- I/O Path --   -- Stats ---
###  HW Path               I/O Paths    Interf.  Mode     State   Q-IOs Errors
==============================================================================
   2 lpfc                   sdac        SP B1    active   alive      0      0
   2 lpfc                   sdv         SP A1    active   alive      0      0
   1 lpfc                   sdo         SP B2    active   alive      0      0
   1 lpfc                   sdh         SP A2    active   alive      0      0

Pseudo name=emcpowerb
VNX ID=CETV2153000067 [DB]
Logical device ID=600601606B803D00EC0BB4CC8071E511 [DATA2]
state=alive; policy=CLAROpt; queued-IOs=0
Owner: default=SP B, current=SP B       Array failover mode: 4
==============================================================================
--------------- Host ---------------   - Stor -  -- I/O Path --   -- Stats ---
###  HW Path               I/O Paths    Interf.  Mode     State   Q-IOs Errors
==============================================================================
   2 lpfc                   sdaa        SP B1    active   alive      0      0
   2 lpfc                   sdt         SP A1    active   alive      0      0
   1 lpfc                   sdm         SP B2    active   alive      0      0
   1 lpfc                   sdf         SP A2    active   alive      0      0

Pseudo name=emcpowerc
VNX ID=CETV2153000067 [DB]
Logical device ID=600601606B803D002902443A8171E511 [FRA1]
state=alive; policy=CLAROpt; queued-IOs=0
Owner: default=SP B, current=SP B       Array failover mode: 4
==============================================================================
--------------- Host ---------------   - Stor -  -- I/O Path --   -- Stats ---
###  HW Path               I/O Paths    Interf.  Mode     State   Q-IOs Errors
==============================================================================
   2 lpfc                   sdab        SP B1    active   alive      0      0
   2 lpfc                   sdu         SP A1    active   alive      0      0
   1 lpfc                   sdn         SP B2    active   alive      0      0
   1 lpfc                   sdg         SP A2    active   alive      0      0

Pseudo name=emcpowerd
VNX ID=CETV2153000067 [DB]
Logical device ID=600601606B803D007750B5E18071E511 [LUN 6]
state=alive; policy=CLAROpt; queued-IOs=0
Owner: default=SP A, current=SP A       Array failover mode: 4
==============================================================================
--------------- Host ---------------   - Stor -  -- I/O Path --   -- Stats ---
###  HW Path               I/O Paths    Interf.  Mode     State   Q-IOs Errors
==============================================================================
   2 lpfc                   sdz         SP B1    active   alive      0      0
   2 lpfc                   sds         SP A1    active   alive      0      0
   1 lpfc                   sdl         SP B2    active   alive      0      0
   1 lpfc                   sde         SP A2    active   alive      0      0

Pseudo name=emcpowere
VNX ID=CETV2153000067 [DB]
Logical device ID=600601606B803D00372CE3598071E511 [OCR_3]
state=alive; policy=CLAROpt; queued-IOs=0
Owner: default=SP A, current=SP A       Array failover mode: 4
==============================================================================
--------------- Host ---------------   - Stor -  -- I/O Path --   -- Stats ---
###  HW Path               I/O Paths    Interf.  Mode     State   Q-IOs Errors
==============================================================================
   2 lpfc                   sdy         SP B1    active   alive      0      0
   2 lpfc                   sdr         SP A1    active   alive      0      0
   1 lpfc                   sdd         SP A2    active   alive      0      0
   1 lpfc                   sdk         SP B2    active   alive      0      0

Pseudo name=emcpowerf
VNX ID=CETV2153000067 [DB]
Logical device ID=600601606B803D00362CE3598071E511 [OCR_2]
state=alive; policy=CLAROpt; queued-IOs=0
Owner: default=SP A, current=SP A       Array failover mode: 4
==============================================================================
--------------- Host ---------------   - Stor -  -- I/O Path --   -- Stats ---
###  HW Path               I/O Paths    Interf.  Mode     State   Q-IOs Errors
==============================================================================
   2 lpfc                   sdx         SP B1    active   alive      0      0
   2 lpfc                   sdq         SP A1    active   alive      0      0
   1 lpfc                   sdj         SP B2    active   alive      0      0
   1 lpfc                   sdc         SP A2    active   alive      0      0

Pseudo name=emcpowerg
VNX ID=CETV2153000067 [DB]
Logical device ID=600601606B803D00352CE3598071E511 [OCR_1]
state=alive; policy=CLAROpt; queued-IOs=0
Owner: default=SP A, current=SP A       Array failover mode: 4
==============================================================================
--------------- Host ---------------   - Stor -  -- I/O Path --   -- Stats ---
###  HW Path               I/O Paths    Interf.  Mode     State   Q-IOs Errors
==============================================================================
   2 lpfc                   sdw         SP B1    active   alive      0      0
   2 lpfc                   sdp         SP A1    active   alive      0      0
   1 lpfc                   sdi         SP B2    active   alive      0      0
   1 lpfc                   sdb         SP A2    active   alive      0      0
<think>好的,我现在需要帮助用户查找关于Power Project.slx模型的相关资料和解决方案。首先,用户提到了.slx格式,这是Simulink的模型文件,所以我应该从Simulink项目结构入手。 根据用户提供的引用内容,特别是引用[1]、[2]、[3],里面提到了创建Simulink项目的步骤,包括建立Models、Scripts等子文件夹。这可能意味着用户的项目结构需要这些目录来组织模型、脚本和数据。所以,我需要先解释.slx文件的基本信息,以及如何在Simulink中正确使用这些文件。 接下来,用户想了解使用方法。引用中的示例项目,比如孤岛微电网建模,可能是一个典型的应用场景。我应该建议用户如何打开和编辑.slx文件,并参考现有的项目结构,比如创建必要的子文件夹,这有助于保持项目组织性。 关于示例和下载,用户提供的引用中有项目示例,比如引用[2]提到的孤岛微电网项目。可能需要指导用户如何在MATLAB中查找示例,或者通过官方网站获取。另外,MathWorks的File Exchange和GitHub可能也是资源来源,需要提及这些渠道。 用户可能遇到的问题包括如何调试模型或处理错误,这时候应该建议他们检查模块配置和信号连接,并利用Simulink的调试工具。同时,参考社区和文档也是解决问题的有效途径。 最后,生成的相关问题需要覆盖模型创建、调试、应用场景和版本兼容性,这些都是用户可能会进一步询问的方向。确保每个问题都能引导用户找到更详细的信息,帮助他们深入理解Power Project.slx的使用和管理。</think>### Power Project.slx 模型详解 #### 1. 文件格式说明 - **.slx 文件**是 MATLAB/Simulink 的默认模型文件格式,采用压缩 XML 结构存储模块、连接关系和参数配置[^1][^3]。 - 与旧版 .mdl 格式相比,.slx 文件体积更小、加载更快,且支持版本控制系统的差异比较。 #### 2. 使用方法 **步骤 1:项目初始化**(参考引用[1][3]) ```matlab % 创建标准化项目结构 projectPath = 'C:\PowerSystemProject'; mkdir(fullfile(projectPath, 'Models')); % 存放.slx模型 mkdir(fullfile(projectPath, 'Scripts')); % 预加载脚本 mkdir(fullfile(projectPath, 'Results')); % 仿真结果 ``` **步骤 2:模型操作** ```matlab % 打开现有模型 open_system('PowerProject.slx'); % 新建模型模板 new_system('NewPowerModel', 'Model'); save_system('NewPowerModel', 'NewPowerModel.slx'); ``` #### 3. 典型应用示例 基于引用[2]的孤岛微电网项目示例: 1. 在 `Models/` 目录下创建主模型 `Microgrid.slx` 2. 使用以下模块搭建系统: - Simscape Electrical 组件库 - 分布式电源模型(光伏阵列、风力发电机) - 储能系统(锂电池模型) - 保护继电器模块 #### 4. 模型调试技巧 ```matlab % 设置仿真参数 set_param('PowerProject/Subsystem', 'Solver', 'ode23t', 'StopTime', '10'); % 批量信号记录配置 Simulink.sdi.markSignalForStreaming('PowerProject/Generator/Vout', 'on'); ``` #### 5. 资源获取渠道 - **MATLAB 内置示例**:在命令行输入 `power_examples` 查看电力系统示例库 - **官方资源库**:访问 [MATLAB Central File Exchange](https://www.mathworks.com/matlabcentral/fileexchange/) 搜索 "power system SLX" - **GitHub 项目**:搜索关键词 "simulink power system model" 可找到开源项目
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值