Page 1 of 19
RMIT Classification: Trusted
Programming Fundamentals (COSC2531)
Final Coding Challenge
Assessment Type Individual assessment (no group work).
Submit online via Canvas/Assignments/Final Coding Challenge.
Marks are awarded per rubric (please see the rubric on Canvas).
Clarifications/updates may be made via announcements.
Questions can be raised via the Canvas discussion forum.
Due Date End of Week 14 (exact time is shown in Canvas/Assignments/Final Coding
Challenge) Deadline will not be advanced nor extended. Please check
Canvas/Assignments/Final Coding Challenge for the most up to date
information regarding the assignment.
As this is a major assignment, a university standard late penalty of 10% (i.e.,
3 marks) per each day applies for up to 5 days late, unless special
consideration has been granted.
Weighting 30 marks out of 100
1. Overview
The main objective of this final project is to assess your capability of program design and
implementation for solving a non-trivial problem. You are to solve the problem by designing a number
of classes, methods, code snippets and associating them towards a common goal. If you have questions,
please ask via the relevant Canvas discussion forums in a general manner; for example, you should
replicate your problem in a different context in isolation before posting, and you must not post your
code on the Canvas discussion forum.
2. Assessment Criteria
This assignment will determine your ability to:
i. Follow coding, convention, and behavioural requirements provided in this document and in
the course lessons;
ii. Independently solve a problem by using programming concepts taught in this course;
iii. Design an OO solution independently and write/debug in Python code;
iv. Document code;
v. Provide references where due;
vi. Meet deadlines;
vii. Seek clarification from your "supervisor" (instructor) when needed via the Canvas discussion
forums; and
viii. Create a program by recalling concepts taught in class, understand and apply concepts
relevant to solution, analyse components of the problem, evaluate different approaches.
Page 2 of 19
RMIT Classification: Trusted
3. Learning Outcomes
This assignment is relevant to the following Learning Outcomes:
1. Analyse simple computing problems.
2. Devise suitable algorithmic solutions and code these algorithmic solutions in a computer
programming language (i.e., Python).
3. Develop maintainable and reusable solutions using object-oriented paradigm.
4. Assessment Details
Please ensure that you have read Sections 1-3 of this document before going further.
Problem Overview: In this final coding challenge, you are asked to develop a Python game program
with the Object-Oriented Programming paradigm, that is based on recently popular Japanese anime
virtual pet game, named pymon.py, that can read data from files and perform operations and
simulate interactions with users. You are required to implement the program following the below
requirements. Note that we will give you some files for you to run with your developed program,
BUT you should change the data in these files to test your program. During the marking, we will
use different data/files to test the behavior of your program.
Game objective: Pymon is an imaginary creature that you can adopt as a pet. In the game map,
there will be two kinds of creatures: Pymon and animal. Only a Pymon can be captured and adopted
as a pet. Initially, you control a Pymon to scroll through a map of interconnected locations with the
mission to find other creatures to defeat in a battle of “rock, scissor, paper” encounter. The goal is
to be able to find all the creatures located in various rooms before your Pymon runs out of energy.
Once your Pymon defeats a creature, it will be captured and added to your pet list and can be used
to help win your mission. If your Pymon got defeated by another creature, one energy point will be
deducted. Once you run out of all energies, then you will lose your Pymon and it will wildly move
to random location. If you hold an extra Pymon, this will become active. If this was your only and
last Pymon, then it is game over. You will win the game once there is no longer any capturable
creature on the map.
Requirements: Your code must meet the following functionalities, code, and documentation
requirements. Your submission will be graded based on the rubric published on Canvas. Please ensure
you read all the requirements and the rubric carefully before working on your assignment.
A - Functionalities Requirements:
There are 4 levels, please ensure you only attempt one level after completing the previous level.
------------------------------------------- PASS LEVEL (12 marks) --------------------------------------
Your project is to implement the required functionalities in the Object-Oriented (OO) style with at
least four classes: Locations, Pymon, Record, and Operation. You need to design appropriate
static/instance variables, constructors, and static/instance methods in these classes. The class related
info should be encapsulated inside the corresponding class.
The goal of this level is to first construct a map that contains multiple interconnected locations.
Class Location
Page 3 of 19
RMIT Classification: Trusted
Location represent a placeholder for your Pymon to interact with other creatures and items. It will be
listed in a map and interconnected with each other through a door. Every location has all directions
“west”, “north”, “east”, and “south”, however not every direction will lead you to another room. In
Your Pymon can move to another location by going by one of these directions. Every location will be
connected to at least 1 other location adjacent to it. If the location is connected on the west side, then
the adjacent location will be connected to it on the east side. The suggested class implementation is as
follows:
Location should have 4 attributes:
• Name. Short name of the location.
• Description. Short description of the location.
• Doors. A dictionary of connected locations in each direction “west”, “north”, “east”, “south”. Initially
all doors will be assigned None as its initial value. None simply means there is no location currently
exists in that direction.
• List of creatures. List of creatures that resides in it. Initially there will be None.
• List of items. List of items that it holds. Initially there will be None.
Location should also have:
• A constructor
• Relevant getter and setter methods
• Connect method: This will assign an available direction with another ‘location’. Consequently the
method should take in two parameter arguments: direction and location. It will add the other location
in the list of connected location. At the same time, it will set the current room in its list of list of
connected locations. Example use case of this method:
o school.connect(“west”, playground) connects playground on school’s west side and connect
school on playground’s east side.
o Alternatively, you could have a connect method that takes in the location name for each
direction, e.g. connect_west(“playground”)
After the map is done, another objective of this level is to instantiate the game’s objects and to perform
basic operations to interact with the game character called Pymon. You will have a Pymon named
‘Kimimon’, which is a white and yellow Pymon with a square face to begin with.
Class Creature
Creature can be found throughout the map and it has 3 basic attributes:
• Nickname: Each creature will have a unique name.
• Description: Each creature will have a brief description such as “large blue and white Pymon with
yellow fangs.”
• Location: This will contain object reference of its current location.
A normal Creature cannot be challenged or adopted.
Class Pymon
Pymon is an inheritance of Creature that has an additional attribute:
Page 4 of 19
RMIT Classification: Trusted
• Energy: Initially there are 3/3 energy points. There are factors that will increase and decrease energy.
Besides a constructor, relevant setter, and getter methods, Pymon will also have this ability. More
abilities will be added in later stage.
• Move: This will take in a ‘direction’ parameter argument. The acceptable keywords are “west”, “north”,
“east”, and “south”. If there is a connected location in that direction, then the Pymon will move to new
location, otherwise it will not do anything and stay in the current location.
Class Record
At the pass level, you are required to import two input files: locations.csv and creatures.csv and load
data to relevant location and creatures lists.
Class Operation
The object instantiated from Class Operation would provide menu option that links with a relevant
method of another object.
At this level the program would have the following menu options to operate Pymon.
1. Inspect Pymon
This is to review Pymon’s biodata, energy, and game statistics.
2. Inspect current location
This will provide information about your Pymon current location including location name and
description, creatures that reside in it and items. It can only work when your Pymon is currently located
in this location. To get description of another location you must try and move Pymon to another location.
3. Move
This option will command Pymon to move from its current location to an adjacent location by entering
a direction’s door namely “west”, “north”, “east”, and “south”. If there is no door in that direction, then
Pymon cannot enter the location in that direction and will remain in the current location.
4. Exit the program
Initial environment setup
At this level, the following initial setup will be required and tested.
1. There will be 3 interconnected locations:
a. Playground {west = School, north = Beach, east = None, south = None}
b. Beach {west = None, north = None, east = None, south = Playground}
c. School{west = None, north = None, east = Playground, south = None}
There are more locations in the csv file, but at the P level you only need the above 3 locations which
are manually connected by calling relevant connect methods.
2. Your Pymon will be spawned (placed) in the school initially.
3. The following creatures are spawned in the following locations:
a. Playground contains “Kitimon”.
b. Beach contains “Sheep”.
c. School contains “Marimon”.
4. The rest of the creatures in the file will not be used at this stage.
Page 5 of 19
RMIT Classification: Trusted
Page 6 of 19
RMIT Classification: Trusted
When the game starts, the following output appears:
Sample output of the program at this level for inspecting current location is as follows:
Page 7 of 19
RMIT Classification: Trusted
Sample output of the program at this level for moving is as follows:
----------------------- CREDIT LEVEL (5 marks, you must only attempt this level after
completing the PASS level -------------------------
At this level, you will implement 2 additional menu items:
1. Pick an item
This option will command Pymon to attempt to pick up an item. Every location may be decorated with
items that Pymon can interact with. Some items can be picked and some cannot. Pymon can only pick
an item if it is currently located in the same location as the item. When item is picked up, it will moved
from the location to Pymon inventory, that means the item will be removed from its original location.
2. View inventory
This is to review items picked up along the journey. At later stage, each item in the inventory can be
used in a certain way.
Page 8 of 19
RMIT Classification: Trusted
Item list
The following items may be found in a location. At the Credit level, there is only 1 item of each type.
1. Apple. Apple is Pymon’s main food, which can be picked up and eaten to replenish Pymon’s energy.
Apple can only be used once.
2. Magic potion. This can be picked up and when applied, the pet will have immunity during a battle. That
is if it loses in battle, is energy will not be deducted, and it will be given a chance to try battle once
again. Magic potion can only be used once.
3. Binocular. With the binocular, Pymon can get an extra ability to quickly review of its surroundings
including the location names in all directions. Additionally, a binocular also provides a foresight of a
direction.
4. A tree. A tree does nothing and cannot be picked up. It is there for decoration purpose.
Initial Setup
Your game intial set up will now have the following items placed in the following locations:
1. Playground contains a ‘tree’ and a ‘magic potion’.
2. Beach contains ‘apple’.
3. School contains ‘binoculars’.
All of the location should now be dynamically connected to each other as per the supplied locations.csv
file. Each line in the file that contains name, description, west, north, east, south must be
programmatically read and translated as an object that goes into list of locations with proper
connections.
Your Pymon starting location should be randomised from this level onwards.
Additionally, at this level, you will implement an additional menu item called “Challenge a
creature”, which sends the Pymon to enter a battle mode against the other creature that are located at
the same location as yours. The battle is based on a traditional children game called “rock, scissor,
paper”, in which each side would present one of three shapes at the same time.
A battle will consist of maximum 3 encounters or as many as the energy points that your Pymon has.
In each encounter you select and issue one of the three available shapes, and your opponent will
randomly issue their selected shape immediately afterwards. Both issued shapes will be compared
and assessed based on the following rules to determine the winner of each encounter.
Yours Your opponent Encounter outcome
Rock Rock Draw, no one wins
Rock Paper Paper wins (you lose)
Rock Scissor Rock wins (you win)
Paper Paper Draw, no one wins
Paper Rock Paper wins (you win)
Paper Scissor Paper loses (you lose)
Scissor Scissor Draw, no one wins
Scissor Rock Rock wins (you lose)
Scissor Paper Scissor wins (you win)
Page 9 of 19
RMIT Classification: Trusted
The battle follows ‘best of three encounters’, that means, the first player to win 2 encounters will with
the battle. If there is a draw, then the encounter will be repeated until there is a winner. If your Pymon
loses an encounter, its energy level will decrease by 1 point. Once your energy level reached zero or
you got beaten in 2 encounters (whichever comes first) then, you have lost the battle and must
relinquish your Pymon into the wild and it will be randomly moved into another location. If you have
another Pymon in your pet list, then this will become your current Pymon. All items in the inventory
get transferred into your new Pymon’s iventory. But if your one and only Pymon was taken away, then
it is game over. If your Pymon wins against its opponent, then you would capture collect the opposing
Pymon as a pet to be added to your pet list.
To implement the above, Class Pymon needs to be modified to include the following additional
method:
• Challenge: This will take in a ‘creature_name’ parameter argument. If there is another Pymon as a
potential opponent in the location, your Pymon can challenge the opponent to go into battle of “rock,
paper, scissor” encounter. While Pymon can be challenged, other creatures cannot.
The menu will now look as follows:
1. Inspect Pymon (this menu item now has 2 sub items)
1. Inspect current Pymon: View your current Pymon’s name, description, and energy.
2. List and select a benched Pymon to use. If another Pymon is available in the bench you
can swap it with your current one. Items in the current inventory will stay with the Pymon
who picked them up, until you lose this Pymon in a battle.
2. Inspect current location
3. Move
4. Pick an item
5. View inventory
6. Challenge a creature: This will send your Pymon into a battle mode against another Pymon in the
current location. If there is no other Pymon in the location, then the challenge is invalid and will not
affect anything. Attempt to challenge a creature other than a Pymon will result in something silly like
“the sheep just ignored you” or “the chicken just laughed at you”.
7. Exit the program
Page 10 of 19
RMIT Classification: Trusted
Sample output of the program at this level for picking up an item is as follows:
Sample output of the program at this level for making a challenge is as follows:
Page 11 of 19
RMIT Classification: Trusted
Sample screen for the battle mode is as follows:
Page 12 of 19
RMIT Classification: Trusted
--------------- DI LEVEL (5 marks, you must only attempt this level after completing
the CREDIT level) ---------------
This level further extends your program with extra features and complexities.
Pymon energy level can go up and down.
1. Energy level increases by one point if Pymon eats an edible item.
2. Energy level decreases by one point in every 2 moves. When Pymon moves 2 locations, it’s energy
will decrease by 1 point. Once all energy points were depleted, your Pymon will escape into the wild
and moved to a random room. If this this was your one and only Pymon, then it is game over.
At this level Pymon can use items in the inventory to help its mission and maintain its energy level.
Make the following modification in Class Pymon:
• Use item: This will take in an ‘item’ parameter argument to use an item in the inventory. An item must
first be collected and added in inventory before it can be used.
o If there is an edible item like an ‘apple’, then Pymon can eat it. Each item will increase energy
by one point. Maximum energy is 3. If current energy level is already 3, then eating will not
further increase energy.
o A ‘magic potion’ will give temporary immunity in a battle. The potion can only be used in one
battle. While the potion is used, if your Pymon wins the encounter, this magic potion remains.
If your Pymon lose the encounter, energy will not get deducted and the magic potion will
disappear from the inventory. Regardless of the battle outcome, after the battle, the potion will
disappear from the inventory.
o A ‘binocular’ will give Pymon farsighted vision of the current location and other connected
location in a particular direction. When using binocular, Pymon can select from the following
options:
▪ “current”. Example output “A sheep, another Pymon, and in the west is a cave”.
▪ “west”. Example output “In the west, there seems to be a cave with an edible apple and
another unknown creature nearby”.
▪ “north”. Example output “This direction leads nowhere”
▪ “east”. Example output “This direction leads nowhere”.
▪ “south”. Example output “This direction leads nowhere”
The menu will now look as follows:
1. Inspect Pymon
2. Inspect current location
3. Move
4. Pick an item
5. View inventory (this function now has an additional sub-command)
a. Select item to use
6. Challenge a creature
7. Generate stats
8. Exit the program
Additionally, your program should now be able to handle some variations in the files using built in/custom exceptions:
Page 13 of 19
RMIT Classification: Trusted
1. InvalidDirectionException: This exception gets thrown when the selected direction does not contain
any location.
2. InvalidInputFileFormat: This exception gets thrown when a CSV file has invalid content or in incorrect
format.
-------------- HD LEVEL (5 marks, you must only attempt this level after completing
the DI level) ---------------
The menu will now look as follows:
1. Inspect Pymon
2. Inspect current location
3. Move
4. Pick an item
5. View inventory
6. Challenge a creature
7. Generate stats
8. Exit the program
Additional information will be saved:
1. Every battle will now be noted in statistic. This will now include number of wins, number of draw, and
number of losses of every Pymon that you had control of. At the bottom of the battle list, it will show
total wins, total draws and total loss. For example:
Pymon Nickname: “Marimon”
Battle 1, 25/10/2024 11:22AM Opponent: “Gumimon”, W: 2 D: 1 L:1
Battle 2, 26/10/2024 10:30PM Opponent: “Pumamon”, W: 2 D: 0 L: 0
Total: W: 4 D: 1 L: 1
2. Every encounter will be given a timestamp that contains actual date and time of the battle.
There are 3 data files that will provide the starting materials to run the game: creatures.csv,
locations.csv and items.csv. Data from these 3 should be added to corresponding lists in a Record
object. As the program gets more complex, it allows for custom files input to provide extension and
extra variations to the game. For this you may add an additional Record class to manage file input and
output. NOTE, your code must be able to run under command-line as in the specification. Specifically,
if the filenames of the locations, creatures, and items are locations.csv, creatures.csv, and items.txt,
respectively, then your program should be able to run under the following command lines:
1. python pymon_game.py
2. python pymon_game.py locations.csv
3. python pymon_game.py locations.csv creatures.csv
4. python pymon_game.py locations.csv creatures.csv items.csv
After data were imported into the program, the program will place items and creatures at various
locations randomly. At this stage, there could be more than one item in various locations. Your Pymon
starting location will also be randomised.
Page 14 of 19
RMIT Classification: Trusted
The program will have some additional requirements (some might be challenging):
1. Save game progress: This will save state of the game in a custom file like save2024.csv
2. Load game progress: This will load state of the game in a custom file like save2024.csv
3. Admin feature to add a custom location. This is to create a new location object and save it in
locations.csv
Sample csv line that represents a location is as follows:
School, a secondary school for local creatures with 3 two-story buildings., None, None, Playground, None
4. Admin feature to add a custom creature. This is to create a new creature object (could be both
Pymon and other type of creature) and save it in creatures.csv. You may decide to have an
inheritance structure to categorise a Creature into 2 categories: Pymon and Animals.
Sample csv may contain name, description, and adoptable (yes/no) such as the following:
Kitimon, large blue and white Pymon with yellow fangs, yes
Sheep, small fluffy animal with interesting curly white fur, no
Marimon, medium red and yellow Pymon with a cute round face, yes
5. Admin feature to randomise connections between locations. Once imported, the location now
will ignore the connected locations defined in the CSV file. Instead, each side of the location
will now be assigned a random location to increase the game’s unpredictability. Similar to the
initial setup not all sides would have a connecting door, i.e. will be assigned None.
Page 15 of 19
RMIT Classification: Trusted
B - Code Requirements:
You must demonstrate your ability to program in Python by yourself, i.e., you should not use any
Python packages that can do most of the coding for you. The only Python packages allowed in this
assignment are sys, os, datetime, csv and random. If other packages/libraries are used, you will get
a heavy penalty.
Your program at all levels should be fully OO, e.g., no variables, methods, or code snippets dangling
outside a class. Your main program should simply create an object and run its methods to invoke
methods from other classes to perform the required functionalities.
You should test/verify the program with different text files (not just run with our text files) to
ensure your program satisfies all the required functionalities.
You are not allowed to use Artificial Intelligence tools (e.g., ChatGPT or Copilot) to help you
when developing your code. If this is detected by our plagiarism checker, a plagiarism/misconduct
case will be open for you, and you will be reported to the RMIT Misconduct team who will then handle
your plagiarism/misconduct case.
Your code needs to be formatted consistently. You must not include any unused/irrelevant code (even
inside the comments). What you submitted must be considered the final product.
You should design your classes carefully. You may use a class diagram to assist with the design. In
the DI and HD levels, you are required to provide a detailed class diagram to show your class
design. An example of a class diagram is shown below – Figure 1 (note that this is a class diagram of
a different programming assignment). In the diagram, the variables and methods of each class are
shown. Note that if your code is at the PASS or CREDIT level, you do not need to submit any diagram;
a diagram at these levels would NOT result in any mark.
You could use tools like PowerPoint, Keynotes, or online tools like moqups.com to draw the diagram.
The diagram needs to be submitted in jpg, gif, png, or pdf format.
Finally, note that in places where this specification may not tell you how exactly you should implement
a certain feature, you need to use your judgment to choose and apply the most appropriate concepts
from our course materials. You should follow answers given by your "client" (or "supervisor" or the
teaching team) under Canvas/Discussions/Discussion on Final Coding Challenge.
Page 16 of 19
RMIT Classification: Trusted
Figure 1. An example of a class diagram
C - Documentation Requirements:
You are required to write comments (documentation) as a part of your code. Writing documentation
is a good habit in professional programming. It is particularly useful if the documentation is next to
the code segment that it refers to. NOTE that you don't need to write an essay, i.e., you should keep
the documentation succinct.
Your comments (documentation) should be in the same Python file. Please DO NOT write a
separate file for comments (documentation).
At the beginning of your Python file, your code must contain the following information:
1. Your name and student ID.
2. The highest level you have attempted. This means you have completed all the requirements
of the levels below. Mark will be only given at the lowest level of partial completion. For
example, if you completed the PASS level, tried 50% of the CREDIT level, 30% of the DI
level, 10% of the HD level, then your submission will be marked at the CREDIT level only
(we will ignore the DI and HD levels, so please make sure you fully finish one level before
moving to the next one).
3. Any problems of your code and requirements that you have not met. For example,
scenarios that might cause the program to crash or behave abnormally, the requirements your
Page 17 of 19
RMIT Classification: Trusted
program does not satisfy. Note that you do not need to handle or address errors that are not
covered in the course.
Besides, the comments in this final coding challenge should serve the following purposes:
• Explain your code in a precise but succinct manner. It should include a brief analysis of your
approaches instead of simply translating the Python code to English. For example, you can
comment on why you introduce a particular function/method, why you choose to use a while
loop instead of other loops, why you choose a particular data type to store the data information.
These comments can be placed before the code blocks (e.g., functions/methods, loops, if) and
important variable declarations that the comments refer to.
• Document some analysis/reflection as a part of your code. Here, you need to write some
paragraphs (could be placed at the end or at the beginning of your code) to explain in detail
your design process, e.g., how you came up with the design of the program, how you started
writing the code after the design process, the challenges you met during the code development.
• Document the references, i.e., any sources of information (e.g., websites) you used other than
the course contents directly under Canvas/Modules, you must give acknowledgement of the
sources, explaining how you use the sources in this assignment. More detailed information
regarding the references can be found in Section 5.
D - Rubric:
Overall:
Level Points
PASS level 12
CREDIT level 5
DI level 5
HD level 5
Others: Overall Class Diagram 1
Others: code quality, modularity, comments/analysis 2
More details of the rubric of this assessment can be found on Canvas (here). Students are required to
look at the rubric to understand how the assessment will be graded.
4. Submission
As mentioned in the Code Requirements, you must submit only one zip file with the name
ProgFunFinal_<Your Student ID>.zip via Canvas/Assignments/Final Coding Challenge. The zip
file contains:
• The main Python code of your program, named pymon_game.py
• A diagram in one of the formats: jpg, gif, png, pdf (if you attempt the DI and HD levels)
• Other Python files written by you to be used by your main application.
It is your responsibility to correctly submit your file. Please verify that your submission is correctly
submitted by downloading what you have submitted to see if the file includes the correct contents. The
final zip file submitted is the one that will be marked. You do not need to submit the text files we
provide you with – we will mark based on our text files. If you attempt the PASS level, your program
should be able to run the first and second command lines. If you attempt until the CREDIT level, your
program should be able to run the first, second, and third command lines. If you attempt until the DI
or HD level, your program should be able to run all the four command lines. NOTE, the filenames
Page 18 of 19
RMIT Classification: Trusted
specified in the command lines can be different, not necessarily locations.csv, creatures.csv,
items.csv. You can assume users always specify the correct order of file names, i.e., the locations file
first, the creatures file second, and the items file third.
Late Submission
All assignments will be marked as if submitted on time. Late submissions of assignments without
special consideration or extension will be automatically penalised at a rate of 10% of the total marks
available per day (or part of a day) late. For example, if an assignment is worth 30 marks and it is
submitted 1 day late, a penalty of 10% or 3 marks will apply. This will be deducted from the assessed
mark. Assignments will not be accepted if more than five days late unless special consideration or an
extension of time has been approved.
Special Consideration
If you are applying for extensions for your assessment within five working days after the original
assessment date or due date has passed, or if you are seeking extension for more than seven days, you
will have to apply for Special Consideration, unless there are special instructions on your Equitable
Learning Plan.
In most cases you can apply for special consideration online here. For more information on special
consideration, visit the university website on special consideration here.
5. Referencing Guidelines
What: This is an individual assignment, and all submitted contents must be your own. If you have
used sources of information other than the contents directly under Canvas/Modules, you must give
acknowledgement of the sources, explaining in detail how you use the sources in this assignment,
and give references using the IEEE referencing format.
Where: You can add a code comment near the work (e.g., code block) to be referenced and include
the detailed reference in the IEEE style.
How: To generate a valid IEEE style reference, please use the citethisforme tool if you're unfamiliar
with this style.
6. Academic Integrity and Plagiarism (Standard Warning)
Academic integrity is about honest presentation of your academic work. It means acknowledging the
work of others whilst developing your own insights, knowledge, and ideas. You should take extreme
care that you have:
• Acknowledged words, data, diagrams, models, frameworks and/or ideas of others you have
quoted (i.e., directly copied), summarized, paraphrased, discussed, or mentioned in your
assessment through the appropriate referencing methods.
• Provided a reference list of the publication details so your readers can locate the source if
necessary. This includes material taken from the internet sites.
If you do not acknowledge the sources of your material, you may be accused of plagiarism because
you have passed off the work and ideas of another person without appropriate referencing, as if they
were your own.
Page 19 of 19
RMIT Classification: Trusted
RMIT University treats plagiarism as a very serious offence constituting misconduct. Plagiarism
covers a variety of inappropriate behaviors, including:
• Failure to properly document a source
• Copyright material from the internet of databases
• Collusion between students
For further information on our policies and procedures, please refer to the University website (link).
7. Assessment Declaration:
When you submit work electronically, you agree to the assessment declaration:
相关推荐
四分之一汽车模型主动悬架设计:在MATLAB_Simulink中实现比例积分控制、前馈扰动抑制和扰动估计,以优化乘坐舒适性和道路附着力。.rar
四分之一汽车模型主动悬架设计:在MATLAB_Simulink中实现比例积分控制、前馈扰动抑制和扰动估计,以优化乘坐舒适性和道路附着力。.rar
【FDE知识库】(1):AI 编程时代开发语言选型分析,云使用go,企业用java,算法python,底层c
AI 编程时代,开发语言选型需综合考量AI适配度、编译速度、跨平台与学习成本。Python以海量语料和即时执行成首选,适用于AI/ML与原型开发;TypeScript凭借类型系统与秒级构建,成为前端及应用层主流;Go以极速编译与统一风格,契合AI代理高效迭代需求。Rust/C++虽性能强,但编译慢、学习成本高,不适于快速试错。综合推荐:优先选Python、TypeScript、Go,兼顾效率与生态,实现最优AI协作体验。
Delphi 13.2控件之msquic4d.rar
Delphi 13.2控件之msquic4d.rar
MCGS的Http协议驱动,支持http协议
硬件配置 参数设置 设备属性 设备命令 通讯状态 附录 #HTTP 1、 设备简介 驱动类型 该驱动为独立设备,直接添加构件即可,不需要挂载到父设备下 通讯协议 采用标准HTTP1.1协议 通讯方式 驱动构件为客户端。 2、 硬件连接 本软件在通讯之前,请保证通讯连接正确。通讯连接方式:采用标准的RJ45接口的以太网接线(对调网线或使用HUB交换)。 3、 设备通讯参数 本设备为独立设备,无父设备参数 4、 设备构件参数设置 “HTTP设备”参数设置如下: <1> 内部属性: 构建url信息。 <2> 最小采集周期:本软件对设备进行操作的时间周期,单位为ms,默认为100ms。 <3> 通讯等待时间:通讯数据接收等待时间,默认设置为200ms,当采集速度要求较高或数据量较大时,设置值可适当减小或增大。 <4> HttpHead:http head添加需要的字段,不需要添加http head时值为空,默认不添加。 5、 设备命令 本设备构件提供设备命令,用于进行相应的操作,设备命令的格式如下: 设备命令 命令介绍 GetHttpHead 格式1 GetHttpHead(headStr) 用途 获取http head参数 参数 headStr 参数可以为字符型变量、字符串常量 例1 !SetDevice(设备0,6,"GetHttpHead(headStr)") 获取http head数据保存到headStr中 SetHttpHead 格式1 SetHttpHead(headStr) 用途 设置http head参数 参数 headStr 参数可以为字符型变量、字符串常量
企业数字化转型AI大模型赋能智能体平台及AI场景应用规划方案(生态合作版).pptx
企业数字化转型AI大模型赋能智能体平台及AI场景应用规划方案(生态合作版).pptx
智慧环保生态保护行业可信数据空间应用规划方案(技术方案版).pptx
智慧环保生态保护行业可信数据空间应用规划方案(技术方案版).pptx
【DBO三维路径规划】基于多策略改进的蜣螂算法MSDBO多无人机协同集群避障路径规划(目标函数:最低成本:路径、高度、威胁、转角)研究(Matlab代码实现)
内容概要:本文研究了基于多策略改进的蜣螂优化算法(MSDBO)在多无人机协同集群三维路径规划中的应用,旨在解决复杂三维环境下的避障与最优路径搜索问题。通过构建包含路径长度、飞行高度、威胁规避和转弯角度的综合成本目标函数,利用MSDBO算法对多无人机系统的飞行轨迹进行全局优化,实现在保证安全性与稳定性的前提下达到最低能耗与最优性能的目标。文中详细阐述了算法的多策略改进机制、三维环境建模方法以及多无人机协同避障策略,并通过Matlab仿真平台验证了该方法相较于传统优化算法在收敛速度、路径质量和鲁棒性方面的优越性能。; 适合人群:具备一定优化算法理论基础和无人机控制系统知识的科研人员及研究生,特别适用于从事智能优化算法、多智能体协同控制、路径规划与自主导航等相关领域的研究人员和技术开发者。; 使用场景及目标:①应用于灾害救援、军事侦察、智能巡检等复杂三维场景中多无人机协同任务的路径规划;②为多目标约束下的路径优化、动态避障与能耗平衡问题提供高效的算法支持与仿真验证工具;③推动智能优化算法在无人系统自主决策与协同控制中的实际应用与工程落地。; 阅读建议:建议读者结合提供的Matlab代码深入理解算法的具体实现过程,重点关注目标函数设计、多策略改进机制(如种群初始化、自适应参数调整、局部搜索增强等)及仿真结果分析部分,同时可尝试将该算法迁移至其他智能优化算法框架中进行对比研究,以深化对路径规划问题本质的理解与实践能力的提升。
气象服务行业可信数据空间应用规划方案(技术方案版).pptx
气象服务行业可信数据空间应用规划方案(技术方案版).pptx
【CEEMDAN-VMD-GRU】完备集合经验模态分解-变分模态分解-门控循环单元预测研究(Python代码实现)
内容概要:本文提出了一种融合完备集合经验模态分解(CEEMDAN)、变分模态分解(VMD)与门控循环单元(GRU)的复合预测模型,旨在提升对复杂非平稳时间序列的预测精度。首先利用CEEMDAN对原始信号进行自适应分解,有效缓解模态混叠问题,获得一组本征模态函数(IMFs);随后引入VMD对关键模态分量作进一步优化分解,增强特征分离能力,降低噪声干扰;最后将处理后的平滑分量分别输入GRU神经网络进行独立训练与预测,并通过加权集成策略融合各分量输出,得到最终高精度预测结果。该方法结合了多尺度信号分解与深度学习的优势,显著提升了模型在处理强噪声、非线性、非平稳序列(如电力负荷、风速、光伏发电功率等)时的泛化能力和预测稳定性,文中提供了完整的Python代码实现,便于复现与应用。; 适合人群:具备一定Python编程基础和机器学习理论知识,从事科研或工程应用的硕士、博士研究生及科研人员,尤其适用于能源系统预测、智能电网调度、可再生能源管理、信号处理与时间序列分析等相关领域的研究人员和技术开发者。; 使用场景及目标:①解决传统单一预测模型在面对复杂非平稳时间序列时存在的过拟合、收敛慢、精度低等问题;②通过多阶段信号分解降低原始序列的复杂度与不确定性,提升GRU模型的训练效率与预测鲁棒性;③为电力系统负荷预测、新能源出力预报、设备运行状态预警及市场交易策略制定等关键任务提供高精度数据支撑。; 阅读建议:建议读者结合提供的Python代码逐模块理解算法实现流程,重点关注CEEMDAN与VMD的参数配置对信号分解效果的影响,尝试在不同数据集上进行实验对比,并通过可视化手段分析各模态分量的物理意义,进一步掌握模型调优与性能评估的方法。
机器视觉检测实战教程 19页成品课程光源选型Halcon标定海康相机VisionPro
内容概要:机器视觉检测实战教程,19页6章成品课程PDF:视觉检测光源选型对照表+五个翻车案例、Halcon模板匹配create_shape_model七参数整定、视觉标定三类(9点/旋转/手眼)、海康工业相机C#取图黑图丢帧排坑、VisionPro QuickBuild部署License迁移C#宿主、远心镜头选型。含C#/Halcon代码与现场案例。适用人群:机器视觉工程师、自动化检测开发、企业内训。使用场景:视觉方案设计、选型、标定部署、团队培训。原创整理。
【医疗器械制造】基于酸碱腐蚀环境的一次性乳胶手套铝合金手模失效机理分析与量产风险控制
内容概要:本文围绕一次性医用乳胶手套生产中使用的铝合金手模在酸碱环境下的失效风险展开系统性分析,重点探讨其在外表面腐蚀、清洗循环、氯介质侵入及表面粗糙度控制等方面的工程挑战。研究表明,尽管市场上已有带涂层的铝合金手模供应,但其能否在强碱、酸洗、毛刷摩擦、冷热交变和氯共存的复杂工况下长期维持Ra 1.0—2.5 μm的表面质量并实现稳定脱模,仍需经过严格的多阶段验证。常规阳极氧化+PTFE涂层方案已被实测排除,而316L不锈钢筒体在湿氯环境中出现的三个月内腐蚀失效案例提示必须重视内腔隔离设计。文章强调,采购决策应基于“小批量试制—离线加速试验—影子生产验证—条件性放行”的四阶段准入机制,结合表面参数、工艺相容性、手套成品性能与全生命周期成本进行综合评估,避免依赖供应商宣传数据。; 适合人群:从事医疗器械制造、材料工程、设备采购与工艺质量管理的技术人员及决策管理者,尤其是涉及乳胶手套生产线优化与手模选型的相关从业人员。; 使用场景及目标:①评估铝合金手模替代陶瓷手模的技术可行性与风险边界;②建立手模选型的系统验证流程,防范因表面失效导致的脱模异常、手套缺陷与非计划停机;③指导采购合同中技术条款的制定,确保供应商交付具备可验证数据支撑; 阅读建议:此资源以工程实证为导向,建议读者结合自身产线工艺参数,重点关注外表面Ra控制、内腔双密封设计、影子生产验证方法及失效链追溯体系的构建,在试制阶段严格执行多维度联合判定标准,审慎推进规模化替代。
无人机路径规划中多种优化算法的仿真研究(Matlab代码实现)
内容概要:本文围绕无人机三维路径规划问题,系统研究了多种智能优化算法在复杂环境下的仿真应用与性能对比,重点实现了改进灰狼优化算法(I-GWO)、标准灰狼优化算法(GWO)、金鹰优化算法(GJO)和正弦余弦算法(SCA)的Matlab代码实现。通过构建包含路径长度、飞行高度、威胁规避及转弯角度等多维度目标函数的综合评价体系,对各算法在单无人机路径优化与多无人机协同集群避障场景中的表现进行全面仿真分析,评估其路径规划能力、收敛速度与鲁棒性。研究旨在实现最低综合成本的飞行路径,并为多智能体协同任务提供可靠的算法支撑。; 适合人群:具备一定Matlab编程基础,从事无人机系统设计、智能优化算法研究、路径规划及相关自动化、人工智能领域的科研人员、工程技术人员及研究生。; 使用场景及目标:① 掌握主流智能优化算法在三维空间路径规划中的具体建模与实现方法;② 对比分析不同算法在路径优化质量、计算效率、避障能力和多目标权衡方面的性能差异;③ 为多无人机协同执行侦察、监测、救援等任务提供高效的路径规划解决方案与仿真验证平台。; 阅读建议:建议结合文中提供的Matlab代码进行动手实践,重点关注算法参数调优、目标函数设计以及环境障碍物建模对最终路径的影响,可进一步扩展至动态障碍环境或加入通信约束以适应更复杂的实际应用场景。
【新能源电力系统】项目介绍 MATLAB实现基于GWO-VMD-SSA-LSTM灰狼优化算法(GWO)结合变分模态分解(VMD)、麻雀搜索算法(SSA)及长短期记忆网络(LSTM)进行辐照度-温度驱动
内容概要:本文提出了一种融合灰狼优化算法(GWO)、变分模态分解(VMD)、麻雀搜索算法(SSA)和长短期记忆网络(LSTM)的复合模型(GWO-VMD-SSA-LSTM),用于实现高精度的辐照度-温度驱动短期光伏功率预测。该模型首先通过GWO优化VMD的关键参数(模态数K和惩罚因子α),实现对非平稳光伏功率序列的高效多尺度分解,降低信号复杂性;随后利用SSA对LSTM的超参数(如隐藏层单元数、Dropout率、学习率等)进行智能寻优,提升网络训练效率与泛化能力;最后通过独立LSTM网络对各VMD模态进行预测并重构输出。模型结合了信号分解、智能优化与深度学习优势,显著提升了在多云、阴雨等复杂天气下的预测精度与稳定性,并通过MAE、RMSE、MAPE和R²等指标验证了有效性。文中还提供了完整的MATLAB实现流程,涵盖数据清洗、归一化、滑动窗口构建、参数优化与结果可视化等环节。; 适合人群:具备一定机器学习与时间序列预测基础,从事新能源发电预测、智能电网调度、电力系统自动化等相关领域的科研人员、工程师及研究生。; 使用场景及目标:①解决光伏功率受辐照度、温度等因素影响而导致的强随机性、非平稳性预测难题;②提升短期(15分钟至1小时)光伏出力预测精度,支撑电网经济调度、储能协同控制与电力现货市场申报;③为多源气象数据驱动的可再生能源预测提供可扩展的技术框架。; 阅读建议:建议结合提供的MATLAB代码逐步实践,重点关注GWO与SSA的优化机制、VMD分解效果及其与LSTM的集成方式,注意避免时间泄漏问题,推荐在实际数据上复现实验以深入理解模型性能。
超全Mathcad全桥LLC谐振变换器开关电源设计mathcad计算书
内容概要:本文档《超全Mathcad全桥LLC谐振变换器开关电源设计mathcad计算书》系统阐述了全桥LLC谐振变换器在开关电源中的设计方法,重点利用Mathcad工具进行精确的数学建模与参数计算。内容涵盖LLC谐振变换器的工作原理、关键参数设计(如谐振频率、励磁电感、变比等)、闭环控制策略、软开关实现条件、效率优化及工程实践中需注意的关键事项。文档通过详尽的数学推导和工程实例,构建了一套完整的从理论分析到实际应用的设计流程,特别强调了在不同负载与输入电压条件下确保ZVS/ZCS软开关的实现机制,并提供了实际设计中的取值依据与优化方向,为电力电子工程师提供了一个高效、可靠的设计参考方案。; 适合人群:具备电力电子技术基础,从事开关电源研发的工程师、高校电力电子及相关专业的研究生与科研人员,以及熟悉Mathcad、Simulink等仿真与计算工具的技术人员;; 使用场景及目标:① 掌握全桥LLC谐振变换器的参数设计与性能优化方法;② 开发高效率、高功率密度的软开关电源系统;③ 支持科研项目或工业产品中高性能电源模块的设计与验证;④ 结合仿真模型进行设计结果的验证与教学培训;; 阅读建议:建议结合配套的仿真模型与计算书同步学习,重点关注参数设计公式的推导过程与工程取值的合理性,动手复现计算步骤以加深理解,并通过仿真手段验证设计结果的准确性与鲁棒性。
T12_eVTOL低空经济低空公共航线网络规划设计方案_可研报告版.pptx
T12_eVTOL低空经济低空公共航线网络规划设计方案_可研报告版.pptx
T07_低空经济与智能网联汽车融合的城市空地一体出行服务平台建设方案_决策评审版.pptx
T07_低空经济与智能网联汽车融合的城市空地一体出行服务平台建设方案_决策评审版.pptx
具有PWM控制VSC-HVDC链路的IEEE30总线传输系统(Simulink仿真实现)
内容概要:本文详细介绍了基于Simulink仿真实现的具有PWM控制VSC-HVDC链路的IEEE30总线传输系统,系统性地阐述了电压源换流器高压直流输电(VSC-HVDC)的技术原理及其在复杂电力系统中的集成应用。研究重点涵盖VSC-HVDC系统的基本结构、PWM调制控制策略的设计与实现,并将其嵌入IEEE30节点标准测试系统中,构建完整的多区域交直流混合输电仿真模型。通过Simulink平台对系统在不同运行工况下的动态响应进行仿真分析,验证了PWM控制在有功功率、无功功率独立调节、直流电压稳定及故障穿越能力方面的有效性。该仿真模型不仅有助于深入理解现代高压直流输电技术的工作机制,也为含大规模可再生能源接入的智能电网稳定性分析与优化控制提供了可靠的技术支撑与研究平台。; 适合人群:具备电力系统分析、高压直流输电技术基础以及Simulink/MATLAB仿真能力的研究生、科研人员及从事电力系统规划与运行的工程技术人员。; 使用场景及目标:① 掌握VSC-HVDC系统的核心控制原理及其在多节点电网中的建模方法;② 学习并实践基于PWM调制的矢量控制策略在Simulink中的实现过程;③ 对比分析交直流系统在稳态与暂态过程中的功率传输特性与动态响应,为新能源并网、电网互联等实际工程问题提供仿真依据和技术参考。; 阅读建议:建议读者结合文中理论分析与Simulink仿真模型,逐步完成模型搭建与参数设置,并通过改变系统运行条件(如负载投切、故障扰动等)观察系统响应变化,深入理解控制策略的有效性与局限性。同时,鼓励扩展模型功能,如引入风电/光伏等可再生能源接口,进一步探索VSC-HVDC在现代电力系统中的综合应用潜力。
九个版本一步跨:从JDK8到JDK17的特性增量、强封装迁移与ZGC实战解析
这篇文章要回答的,正是“从 JDK 8 直接跨到 JDK 17”这件事里最常被问到的四个问题: 九个版本到底攒下了什么? 语言、API、运行时三类变化里,哪些值得用、各自从哪个版本开始可用、哪些说法其实传错了。 升级为什么会“起不来”或“跑不通”? 强封装、被删除的模块、被移除的 JVM 参数,分别会以什么样子出现,怎么定位、怎么治本。 ZGC 的收益是真的吗?怎么测才算数? 停顿影响面怎么估算,压测时有哪些坑会把收益放大或掩盖。 落地要分几步走? 站在 2026 年,还该不该把 17 当终点。
660



被折叠的 条评论
为什么被折叠?



