Week 2

11/02/2022


Today is the end of the second week and we have done more than what we planned in the first week! 


The screenshot of the first interface of our app is shown below. In terms of inputs, the vehicle and route can be selected (we only have two of each for the purpose of debugging), and the Max Speed and Coasting Velocity of the vehicle can be adjusted. In terms of outputs, we have six graphs plotted for an intuitive understanding of the whole journey of the train. Among them, the running diagram is an animation showing the real time location of the train! Additionally, we have numerical outputs for more information. For example, the user of this system can observe the total energy consumption of a journey. 




In this week’s development, we did encounter some problems, but we managed to solve them by searching online. One problem is that we use “clear all” when the “clear simulation” button is clicked, but this does not work as we expected because the properties of this app will also be cleared, and this causes problem for the later simulation. To solve this problem, we used more explicit re-default instructions, for example, a numeric value will be set back to 0 instead of clearing this variable. Other problems included having no idea of how to translate the normal MATLAB instructions into app-designer version; they were solved by quick search online.


For the next week, we plan to have the second interface of our app designed. After the discussion with the supervisor, we decide that this interface will allow the comparison of two different vehicle models on the same route. 





评论

此博客中的热门博文