Fundamentals of Programming Assignment
[ad_1]
Fundamentals of Programming Assignment
1 Preamble
In practicals you have implemented and learned about simulations, object-orientation and (soon) how to automate the running of multiple simulations. In this assignment, you will be making use of these skills and knowledge to conduct three investigations. You will then report on the results generated by the simulation.
2 The Problem
There are three related investigations in this assignment: Power Usage, Power Modelling and Power Simulation. You can use Python programs, Bash scripts and/or Jupyter Notebooks for the analysis, modelling and simulation. The investigations can go in many directions, the prompts are given as ideas for possible things to investigate.
- Power Usage: In this investigation, you will be collecting readings from a power meter you have access to. Readings will be recorded in a CSV file. You should read in this data and carry out some visualisation and analysis, which you will then report on. You should plot usage and the cumulative usage (at least).
o Prompts: What understanding and insight can you get from your data? e.g. When is the highest/lowest usage rates? What patterns can you see? What might be the biggest factors in power use? Could you use external data to further understand the data? What is the baseline usage? o All input files should be unique for this investigation. 2. Power Modelling: You will now be looking at the appliances and other factors that affect the power usage in “your” house. Record the type, power rating and usage of devices to work towards matching the Power Usage data from Investigation 1.
o Prompts: Give an inventory of appliances and modelled factors. How have you determined a rating and usage for each? What assumptions have you made? What impact might solar energy have on the model? o File format: colon separated, multipliers are comma separated (internally):
Residents:<number> <device name>:<power rating (W)>:<usage multiplier/hr*12> e.g.
TV:60:1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 3. Power Simulation: Create a street or suburb of houses/residences, implemented as objects in your program – based on the Power Modelling in Investigation 2. Imagine taking the view of the electricity provider and how they can service the needs of the
Fundamentals of Programming Assignment
area. Your simulation should have the flexibility to be able to read in (or build) a range of scenarios.
o Prompts: How does varying the proportion of the different types of houses affect the load over time? What are the base and peak loads? How does solar energy impact this? What impact might feeding solar energy back into the grid have? Can you include some “seasonal” factors or weightings? o Data: We will share house model files (format above) to give variation to your
simulation. You can also create your own (documented).
Your code should include comments to explain what the developed code for each investigation does and how. It is useful to keep track of your changes in the comments at the top of the program, or use a version control system (e.g. git – but make sure your code is not viewable publicly!). Feel free to re-use the code and approaches from the lectures and practicals. However, remember to self-cite and cite your sources. If you submit work that you have already submitted for a previous assessment (in this unit or any other) you have to specifically state this.
Beyond the working program, you will submit two documents: User Documentation for your code and a Power Investigation Report on your experiments. There will be bonus marks for additional functionality and the use of more advanced programming techniques (e.g. interactivity, high quality visualisation, 3D space, parameter sweep etc.) but only if they’re sensible and done well. Make sure to discuss the additional work in your User Documentation and Report, this will be easier if you make notes and keep old (incremental) versions of your code as you work. Fundamentals of Programming Assignment
Need Help with a similar Assignment?
The post Fundamentals of Programming Assignment appeared first on homeworkcrew.
[ad_2]
Source link