Lab2-2 Programming Blog

Liu_Jiewen 2022-11-18 23:36:56

Lab2-2 Programming Blog

This page provides best reading experience in the sequence of:

  1. Typora(md)
  2. Github.com(HTML)
  3. Github.com(md)
  4. CSDN.net

Links are provided in the End Section.

Contents

目录

  • Lab2-2 Programming Blog
  • Contents
  • Keys or Difficulties in programming thinking
  • Photo Proof of Pair Working
  • Working Progress
  • PSP Form
  • Learning Progress Bar
  • Demonstration
  • End

Keys or Difficulties in programming thinking

Top

  1. Problem: Hide the default actionbar so we can make it a better look.
    Solution: After carefully inspecting codes of some samples, we set it to some theme to solve it.
  2. Problem: Make a customized kind of actionbar and make sure it's good for reusing.
    Solution: Tried multiple combinations of settings, we finally found the way the achieve this. This process cost us lots of time.
  3. Problem: How to think about the relationship between single player mode and multiplayer mode.
    Solution: We made thorough understanding of class Activity and decided to share the same activity but invoked differently.
  4. Key: Speed up working progress if simple and plain solutions exist.
  5. Key: Make good uses of debug function of the IDE to figure out mistakes quickly.

Photo Proof of Pair Working

Top

photo

Working Progress

Top

This section consists of PSP Form and Learning Progress Bar.

PSP Form

Top

StagesEstimated Time CostActual Time Cost
Planning
Estimate1010
Development
Analysis1515
Design Spec1515
Design Review1010
Coding Standard105
Design4060
Coding300700
Code Review4560
Test2010
Report
Test Report1515
Size Measurement1030
Postmortem&Process Improvement1530
Total505960

Learning Progress Bar

Top

weekAdded code (line)Cumulative code (lines)Study Time this week (hours)Cumulative learning time (hours)Important Growth
143567888Design and unit test the back end
284616671018Fix bugs, redesign UI

Demonstration

Top

Project on Github.com: https://github.com/LiuJiewenTT/ee308fz_lab2

Video link: https://b23.tv/iPjCM8x

End

Top

The Link Your Classhttps://bbs.csdn.net/forums/MUEE308FZU202201
The Link of Requirement of This Assignmenthttps://bbs.csdn.net/topics/608859318
MU STU ID and FZU STU ID20123850_832001217
Teammate's MU STU ID and FZU STU ID20124082_832001228
Teammate's blog linkhttps://bbs.csdn.net/topics/609330485
GitHub linkhttps://github.com/LiuJiewenTT/ee308fz_lab2
Video demo linkhttps://b23.tv/iPjCM8x

Project on Github.com: https://github.com/LiuJiewenTT/ee308fz_lab2

URL on github.com of this passage(download): https://liujiewentt.github.io/ee308fz_lab2/blog2.md

URL on github.com of this passage(view with Github md): https://github.com/LiuJiewenTT/ee308fz_lab2/tree/main/blog2.md

URL on github.com of this passage(view as html): https://liujiewentt.github.io/ee308fz_lab2/blog2.html

URL on csdn.net of this passage(view as html): https://bbs.csdn.net/topics/609331209

...全文
465 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复
内容概要:本文围绕电力系统在负荷发生突变情形下的三相状态估计问题,深入研究了基于无迹卡尔曼滤波(UKF)和自适应无迹卡尔曼滤波(AUKF)的非线性状态估计算法。通过Matlab代码实现,构建了适用于动态负荷扰动场景的仿真模型,系统对比了UKF与AUKF在非线性、非高斯环境下的状态估计性能。研究表明,AUKF通过实时自适应调整过程噪声与观测噪声的协方差矩阵,显著提升了滤波器对突变工况的跟踪能力与鲁棒性,有效降低了估计偏差与均方根误差,在负荷突变条件下展现出更优的动态响应特性和估计精度。该方法为现代电力系统在高比例可再生能源接入、负荷波动剧烈等复杂运行环境下的实时状态感知提供了可靠的技术支撑。; 适合人群:具备电力系统分析、现代控制理论及状态估计基础知识,熟悉Matlab/Simulink仿真工具,从事电力系统运行与控制、智能电网、状态估计算法研究的研究生、科研人员及工程技术人员。; 使用场景及目标:①应用于含高比例新能源、电动汽车等导致负荷剧烈波动的现代主动配电网状态估计;②提升配电管理系统(DMS)在非平稳、突发扰动工况下的态势感知与预警能力;③为故障诊断、系统恢复、优化调度等高级应用提供高精度、高鲁棒性的实时状态输入数据。; 阅读建议:建议读者结合提供的Matlab代码深入理解UKF与AUKF的算法实现流程,重点剖析AUKF中噪声协方差的自适应更新机制与收敛判据设计,并通过设置不同类型的负荷突变场景(如阶跃、脉冲、斜坡变化)进行仿真对比,全面评估两种算法的性能差异与适用边界,进而掌握其在实际工程中的优化配置方法。
源码直接下载地址: https://pan.quark.cn/s/a4b39357ea24 ### fmincon函数仿真实例 ### #### 一、概述 在数学优化领域,特别是在处理非线性规划问题时,`fmincon` 函数是MATLAB(注:正确的拼写应为MATLAB而非MATAB)非线性优化工具箱中的一个关键组成部分。该函数能够有效解决含有约束条件的非线性最小化问题。对于实际操作中的复杂情形,`fmincon` 提供了一种既高效又灵活的解决方案。 #### 二、fmincon函数简介 `fmincon` 是一个在MATLAB中用于求解带有不等式约束、等式约束以及边界约束的非线性最小化问题的函数。其基本调用格式如下: ```matlab [x, fval] = fmincon(fun, x0, A, b, Aeq, beq, lb, ub, nonlcon) ``` - `fun` 指代目标函数的句柄。 - `x0` 代表初始估计点。 - `A` 和 `b` 分别指代线性不等式约束的矩阵和向量,用以满足 `A*x ≤ b` 的关系。 - `Aeq` 和 `beq` 分别指代线性等式约束的矩阵和向量,用以满足 `Aeq*x = beq` 的关系。 - `lb` 和 `ub` 指示变量的下界和上界。 - `nonlcon` 是一个函数句柄,用于指定非线性约束条件。 #### 三、实例解析 依据题目所提供的部分内容,我们可以详细阐释如何运用 `fmincon` 来解决问题。 ##### 3.1 目标函数定义 定义了一个名为 `fun_fmincon` 的函数,该函数用于计算目标函数值。具体代码如下: ```matlab function f = fun_fminc...

285

社区成员

发帖
与我相关
我的任务
社区描述
福州大学 梅努斯国际工程学院 软件工程(2022秋) 教学
软件工程 高校
社区管理员
  • LinQF39
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧