{"id":326,"date":"2023-05-11T14:12:57","date_gmt":"2023-05-11T12:12:57","guid":{"rendered":"https:\/\/oopm.org\/?page_id=326"},"modified":"2024-01-26T09:20:02","modified_gmt":"2024-01-26T08:20:02","slug":"1-1-models","status":"publish","type":"page","link":"https:\/\/oopm.org\/?page_id=326","title":{"rendered":"1.1 Models"},"content":{"rendered":"<div class=\"pdfprnt-buttons pdfprnt-buttons-page pdfprnt-top-right\"><a href=\"https:\/\/oopm.org\/index.php?rest_route=wpv2pages326&print=pdf\" class=\"pdfprnt-button pdfprnt-button-pdf\" target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/oopm.org\/wp-content\/plugins\/pdf-print\/images\/pdf.png\" alt=\"image_pdf\" title=\"View PDF\" \/><\/a><a href=\"https:\/\/oopm.org\/index.php?rest_route=wpv2pages326&print=print\" class=\"pdfprnt-button pdfprnt-button-print\" target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/oopm.org\/wp-content\/plugins\/pdf-print\/images\/print.png\" alt=\"image_print\" title=\"Print Content\" \/><\/a><\/div>\n<p class=\"wp-block-paragraph\">Modeling is not specific to computer science. Traditionally modeling is used in a number of areas such as architecture, science, and engineering. In general, models may be used to study and analyze properties of systems, and descriptions of models are used for communication between scientists, engineers, designers, and others.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Models are used for different purposes depending on the area.  <\/p>\n\n\n\n<div class=\"wp-block-media-text alignwide is-stacked-on-mobile\" style=\"grid-template-columns:28% auto\"><figure class=\"wp-block-media-text__media\"><img fetchpriority=\"high\" decoding=\"async\" width=\"662\" height=\"498\" src=\"http:\/\/oopm.org\/wp-content\/uploads\/2023\/05\/image.jpeg\" alt=\"\" class=\"wp-image-138 size-full\" srcset=\"https:\/\/oopm.org\/wp-content\/uploads\/2023\/05\/image.jpeg 662w, https:\/\/oopm.org\/wp-content\/uploads\/2023\/05\/image-300x226.jpeg 300w\" sizes=\"(max-width: 662px) 100vw, 662px\" \/><\/figure><div class=\"wp-block-media-text__content\">\n<p class=\"wp-block-paragraph\">One class of models is constructed to understand properties of systems, including parts of nature.&nbsp;The picture to the left shows a model of the planets made by an astronomer with the purpose of studying properties of the movement of planets around the sun.<\/p>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-media-text alignwide is-stacked-on-mobile\" style=\"grid-template-columns:28% auto\"><figure class=\"wp-block-media-text__media\"><img decoding=\"async\" width=\"566\" height=\"502\" src=\"http:\/\/oopm.org\/wp-content\/uploads\/2023\/05\/image-1.jpeg\" alt=\"\" class=\"wp-image-142 size-full\" srcset=\"https:\/\/oopm.org\/wp-content\/uploads\/2023\/05\/image-1.jpeg 566w, https:\/\/oopm.org\/wp-content\/uploads\/2023\/05\/image-1-300x266.jpeg 300w\" sizes=\"(max-width: 566px) 100vw, 566px\" \/><\/figure><div class=\"wp-block-media-text__content\">\n<p class=\"wp-block-paragraph\">Another class of models is made to analyze properties of the design of a planned system, before the system is built, and to check that the system design has certain required properties.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">An architect may e.g. construct a model of a new building in order to show to customers how the building will look like. This may be a physical model of paper and wood, or a model inside a computer.<\/p>\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Models versus descriptions of models<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The following example of a model illustrate the difference between a model and the description of the model.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Most people are familiar with building toy models using LEGO bricks. The figure below shows a picture of a Morris Mini and a model of the Mini made from LEGO bricks.<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-medium\"><img decoding=\"async\" width=\"300\" height=\"207\" data-id=\"329\" src=\"https:\/\/oopm.org\/wp-content\/uploads\/2023\/05\/MorrisMini-300x207.jpg\" alt=\"\" class=\"wp-image-329\" srcset=\"https:\/\/oopm.org\/wp-content\/uploads\/2023\/05\/MorrisMini-300x207.jpg 300w, https:\/\/oopm.org\/wp-content\/uploads\/2023\/05\/MorrisMini.jpg 316w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-medium\"><img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"178\" data-id=\"331\" src=\"https:\/\/oopm.org\/wp-content\/uploads\/2023\/05\/MorrisMini-model-300x178.png\" alt=\"\" class=\"wp-image-331\" srcset=\"https:\/\/oopm.org\/wp-content\/uploads\/2023\/05\/MorrisMini-model-300x178.png 300w, https:\/\/oopm.org\/wp-content\/uploads\/2023\/05\/MorrisMini-model.png 324w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/figure>\n<\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The box of LEGO Bricks to be used for building the model usually contains an instruction manual, which is a&nbsp;<em>description<\/em>&nbsp;of how to&nbsp;<em>build the model<\/em>&nbsp;in the form of a list of instructions.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img decoding=\"async\" src=\"http:\/\/oopm.org\/wp-content\/uploads\/2023\/05\/Lego-instructions.tiff\" alt=\"\" class=\"wp-image-339\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The design of computer-based models is analogous to building models using LEGO bricks. Instead of LEGO bricks, we use objects as the material for building the models. Objects may be conceived as a kind of physical material that exists as parts of models within the computer \u2013 quite analogous to LEGO bricks.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A program is analogous to an instruction manual for building a LEGO model, since a program also describe how the computer builds the model.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">As mentioned above, a model may be of an existing system, like the solar system, or of an idea of a planned system like a building being designing by an architect. In programming, both of these situations may appear.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You may construct a computer-based model of an existing system. This may happen when you digitize manual systems, processes, etc. of a company, hospital, etc.; you may also create systems for simulating physical systems like the weather, flooding, or the spreading of diseases; you may create systems for analyzing large amounts of data like is done in artificial analysis; and many more.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You may construct a model of a new system that you imagine. Examples of this are computer games, email systems, video conference systems, online banking, and telemedicine.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">However, in most cases when you create computer-based models it is a mixture of modeling elements of an existing system and adding new imaginary elements.&nbsp;&nbsp;And eventually such a model turns becomes a real system in itself and all ties\/references to the original existing&nbsp;&nbsp;&nbsp;system may have vanished.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">An example of a computerized model&nbsp;<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">We have above introduced objects as computerized material for making models, just like LEGO bricks are material for making LEGO models.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Figure xxx illustrates this for the model of a planned flight reservation system. Within the model there will be objects representing the different flights. For each reservation there is a Ticket object, with properties that tell which flight, the name of the passenger, and the date. As part of the reservation a seat has been reserved, and that is represented by a Seat object.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"807\" height=\"531\" src=\"https:\/\/oopm.org\/wp-content\/uploads\/2023\/06\/FlightExample.jpg\" alt=\"\" class=\"wp-image-777\" style=\"width:493px;height:324px\" srcset=\"https:\/\/oopm.org\/wp-content\/uploads\/2023\/06\/FlightExample.jpg 807w, https:\/\/oopm.org\/wp-content\/uploads\/2023\/06\/FlightExample-300x197.jpg 300w, https:\/\/oopm.org\/wp-content\/uploads\/2023\/06\/FlightExample-768x505.jpg 768w\" sizes=\"(max-width: 807px) 100vw, 807px\" \/><\/figure>\n<div style=\"display:flex; gap:10px;justify-content:center\" class=\"wps-pgfw-pdf-generate-icon__wrapper-frontend\">\n\t\t<a  href=\"https:\/\/oopm.org?action=genpdf&amp;id=326\" class=\"pgfw-single-pdf-download-button\" ><img src=\"https:\/\/oopm.org\/wp-content\/plugins\/pdf-generator-for-wp\/admin\/src\/images\/PDF_Tray.svg\" title=\"Generate PDF\" style=\"width:auto; height:45px;\"><\/a>\n\t\t<\/div>","protected":false},"excerpt":{"rendered":"<p>Modeling is not specific to computer science. Traditionally modeling is used in a number of areas such as architecture, science, and engineering. In general, models may be used to study and analyze properties of systems, and descriptions of models are used for communication between scientists, engineers, designers, and others. Models are used for different purposes [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":52,"menu_order":1,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-326","page","type-page","status-publish","hentry"],"mb":[],"mfb_rest_fields":["title","gutenberg_elementor_mode"],"_links":{"self":[{"href":"https:\/\/oopm.org\/index.php?rest_route=\/wp\/v2\/pages\/326","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oopm.org\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/oopm.org\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/oopm.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/oopm.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=326"}],"version-history":[{"count":17,"href":"https:\/\/oopm.org\/index.php?rest_route=\/wp\/v2\/pages\/326\/revisions"}],"predecessor-version":[{"id":2996,"href":"https:\/\/oopm.org\/index.php?rest_route=\/wp\/v2\/pages\/326\/revisions\/2996"}],"up":[{"embeddable":true,"href":"https:\/\/oopm.org\/index.php?rest_route=\/wp\/v2\/pages\/52"}],"wp:attachment":[{"href":"https:\/\/oopm.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=326"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}