From e643499688acc7196a064ad7ee637ef01d38f9cb Mon Sep 17 00:00:00 2001 From: prasadtalasila Date: Sat, 9 Sep 2023 22:15:13 +0200 Subject: [PATCH] Fix workflow errors and improves markdown linting - Fixes mistakes in github action files - Adds markdown lint config file --- .github/workflows/docs.yml | 4 +- .mdlrc | 5 ++ docs/FAQ.md | 96 ++++++++++++++++++++++++++------------ script/env.sh | 3 ++ 4 files changed, 77 insertions(+), 31 deletions(-) create mode 100644 .mdlrc diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 579caf80e..7c70c0f5a 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -23,8 +23,8 @@ jobs: uses: Tiryoh/actions-mkdocs@v0 with: mkdocs_version: 'latest' - requirements: 'docs/requirements.txt' - configfile: 'mkdocs.yml' + requirements: 'docs/requirements-github.txt' + configfile: 'mkdocs-github.yml' - name: show contents of compiled docs diff --git a/.mdlrc b/.mdlrc new file mode 100644 index 000000000..5fbe502bd --- /dev/null +++ b/.mdlrc @@ -0,0 +1,5 @@ +git_recurse true +all +rule 'MD013', :ignore_code_blocks => true +rule 'MD013', :tables => false +rule 'MD046', :indented \ No newline at end of file diff --git a/docs/FAQ.md b/docs/FAQ.md index c5947a251..a5c689b7f 100644 --- a/docs/FAQ.md +++ b/docs/FAQ.md @@ -14,7 +14,6 @@ Please see the [features](user/features.md) page to get a sense of the things you can do in DaaS. - ??? Question "Are there any Key Performance / Capability Indicators for DTaaS?" | Key Performance Indicator | Value | |:---|:---| @@ -28,7 +27,6 @@ | Redundancy | None | | Availability | It is a matter of human resources. If you have human resources to maintain DTaaS round the clock, upwards 95% is easily possible. | - ??? Question "Do you provide licensed software like Matlab?" The licensed software are not available on the software platform. But users have private workspaces which are based @@ -36,7 +34,6 @@ Users can install software in their workspaces. The licensed software installed by one user is not available to another user. - ## Digital Twin Models ??? Question "Can DTaaS create new DT models?" @@ -48,11 +45,15 @@ models inside DTaaS and run them using tools that can run in Linux. The Windows only tools can not run in DTaaS. - ??? Question "How can DTaaS help to design geometric model? Does it support 3D modeling and simulation?" - Well, DTaaS by itself does not produce any models. DTaaS only provides a platform and an ecosystem of services to facilitate digital twins to be run as services. Since each user has a Linux OS at their disposal, they can also run digital twins that have graphical interface. - In summary, DTaaS is neither a modeling nor simulation tool. If you need these kinds of tools, you need to bring them onto the platform. For example, if you need Matlab for your work, you need to bring the licensed Matlab software. - + Well, DTaaS by itself does not produce any models. DTaaS only provides + a platform and an ecosystem of services to facilitate digital twins to + be run as services. Since each user has a Linux OS at their disposal, + they can also run digital twins that have graphical interface. + In summary, DTaaS is neither a modeling nor simulation tool. If you need + these kinds of tools, you need to bring them onto the platform. + For example, if you need Matlab for your work, you need to bring + he licensed Matlab software. ??? Question "Commercial DT platforms in market provide modelling and simulation alongside integration and UI. DTaas is not able to do any modelling or simulation on its own like other commercial platforms. Is this a correct understanding?" Yes, you are right @@ -68,7 +69,9 @@ to form monolithic DTs. The DTaaS does not limit you from running such DTs as well. - DTaaS does not provide dedicated solvers. But if you can install a solver in your workspace, then you don't need the platform to provide one. + DTaaS does not provide dedicated solvers. But if you can install + a solver in your workspace, then you don't need the platform + to provide one. ??? Question "Does it support XML-based representation and ontology representation?" Currently No. **We are looking for users needing this capability. If you have concrete requirements and an example, we can discuss a way of realizing it in DTaaS**. @@ -77,38 +80,72 @@ ## Communication Between Physical Twin and Digital Twin ??? Question "How would you measure a physical entity like shape, size, weight, structure, chemical attributes etc. using DTaaS? Any specific technology used in this case?" - The real measurements are done at physical twin which are then communicated to the digital twin. Any digital twin platform like DTaaS can only facilitate this communication of these measurements from physical twin. The DTaaS provides InfluxDB, RabbitMQ and Mosquitto services for this purpose. These three are probably most widely used services for digital twin communication. - Having said that, DTaaS allows you to utilize other communication technologies and services hosted elsewhere on the Internet. + The real measurements are done at physical twin which are then + communicated to the digital twin. Any digital twin platform like + DTaaS can only facilitate this communication of these measurements + from physical twin. The DTaaS provides InfluxDB, RabbitMQ and Mosquitto + services for this purpose. These three are probably most widely used + services for digital twin communication. -??? Question "How a real-time data can be differed from static data and what is the procedure to identify dynamic data? Is there any UI or specific tool used here?" - DTaaS can not understand the static or dynamic nature of data. It can facilitate storing names, units and any other text description of interesting quantities (weight of batter, voltage output etc). It can also store the data being sent by the physical twin. The distinction between static and dynamic data needs to be made by the user. - Only metadata of the data can reveal such more information about the nature of data. A tool can probably help in very specific cases, but you need metadata. If there is a human being making this distinction, then the need for metadata goes down but does not completely go away. - In some of the DT platforms supported by manufacturers, there is a tight integration between data and model. In this case, the tool itself is taking care of the metadata. The DTaaS is a generic platform which can support execution of digital twins. If a tool can be executed on a Linux desktop / commandline, the tool can be supported within DTaaS. The tool (ex. Matlab) itself can take care of the metadata requirements. + Having said that, DTaaS allows you to utilize other communication + technologies and services hosted elsewhere on the Internet. +??? Question "How a real-time data can be differed from static data and what is the procedure to identify dynamic data? Is there any UI or specific tool used here?" + DTaaS can not understand the static or dynamic nature of data. + It can facilitate storing names, units and any other text description + of interesting quantities (weight of batter, voltage output etc). + + It can also store the data being sent by the physical twin. + The distinction between static and dynamic data needs to be made by + the user. + + Only metadata of the data can reveal such more information about + the nature of data. A tool can probably help in very specific cases, + but you need metadata. If there is a human being making this distinction, + then the need for metadata goes down but does not completely go away. + + In some of the DT platforms supported by manufacturers, there is a tight + integration between data and model. In this case, the tool itself is + taking care of the metadata. The DTaaS is a generic platform which can + support execution of digital twins. If a tool can be executed on + a Linux desktop / commandline, the tool can be supported within DTaaS. + The tool (ex. Matlab) itself can take care of the metadata requirements. ??? Question "How can DTaaS control the physical entity? Which technologies it uses for controlling the physical world?" - At a very abstract level, there is a communication from physical entity to digital entity and back to physical entity. How this communication should happen is decided by the person designing the digital entity. The DTaaS can provide communication services that can help you do this communication with relative ease. - You can use InfluxDB, RabbitMQ and Mosquitto services hosted on DTaaS for two communication between digital and physical entities. - + At a very abstract level, there is a communication from physical entity + to digital entity and back to physical entity. How this communication + should happen is decided by the person designing the digital entity. + The DTaaS can provide communication services that can help you do this + communication with relative ease. + You can use InfluxDB, RabbitMQ and Mosquitto services hosted on DTaaS for + two communication between digital and physical entities. ## Data Management ??? Question "Does DTaaS support data collection from different sources like hardware, software and network? Is there any user interface or any tracking instruments used for data collection?" - The DTaaS provids InfluxDB, RabbitMQ, MQTT services. Both the physical twin and digital twin can utilize these protocols for communication. The IoT (time-series) data can be collected using InfluxDB and MQTT broker services. There is a user interface for InfluxDB which can be used to analyze the data collected. - Users can also manually upload their data files into DTaaS. + The DTaaS provids InfluxDB, RabbitMQ, MQTT services. Both the physical twin + and digital twin can utilize these protocols for communication. + The IoT (time-series) data can be collected using InfluxDB and MQTT + broker services. There is a user interface for InfluxDB which can be + used to analyze the data collected. -??? Question "Which transmission protocol does DTaaS allow?" - InfluxDB, RabbitMQ, MQTT and anything else that can be used from Cloud service providers. + Users can also manually upload their data files into DTaaS. +??? Question "Which transmission protocol does DTaaS allow?" + InfluxDB, RabbitMQ, MQTT and anything else that can be used from + Cloud service providers. ??? Question "Does DTaaS support multisource information and combined multi sensor input data? Can it provide analysis and decision-supporting inferences?" - You can store information from multiple sources. The existing InfluxDB services hosted on DTaaS already has a dedicated Influx / Flux query language for doing sensor fusion, analysis and inferences. - + You can store information from multiple sources. The existing InfluxDB + services hosted on DTaaS already has a dedicated Influx / Flux query + language for doing sensor fusion, analysis and inferences. ??? Question "Which kinds of visualization technologies DTaaS can support (e.g. graphical, geometry, image, VR/AR representation)?" - Graphical, geometric and images. If you need specific licensed software for the visualization, you will have to bring the license for it. DTaaS does not support AR/VR. + Graphical, geometric and images. If you need specific licensed software + for the visualization, you will have to bring the license for it. + DTaaS does not support AR/VR. ??? Question "Can DTaaS collect data directly from sensors?" Yes @@ -119,15 +156,16 @@ ## Platform Native Services on DTaaS Platform ??? Question "Is DTaaS able to detect the anomalies about-to-fail components and prescribe solutions?" - This is the job of a digital twin. If you have a ready to use digital twin that does the job, DTaaS allows others to use your solution. + This is the job of a digital twin. If you have a ready to use digital twin + that does the job, DTaaS allows others to use your solution. ## Comparison with other DT Platforms ??? Question "All the DT platforms seem to provide different features. Is there a comparison chart?" - Here is a qualitative comparison of different DT integration platforms: - Legend: high performance (**H**), mid performance (**M**) and low performance (**L**) + Legend: high performance (**H**), mid performance (**M**) + and low performance (**L**) | DT Platforms | License | DT Development Process | Connectivity | Security | Processing power, performance and Scalability | Data Storage | Visualization | Modeling and Simulation | |:---|:---|:---|:---|:---|:---|:---|:---|:---| @@ -143,7 +181,7 @@ Ref: Naseri, F., Gil, S., Barbu, C., Cetkin, E., Yarimca, G., Jensen, A. C., ... & Gomes, C. (2023). Digital twin of electric vehicle battery systems: - Comprehensive review of the use cases, requirements, and platforms. + Comprehensive review of the use cases, requirements, and platforms. Renewable and Sustainable Energy Reviews, 179, 113280. ??? Question "All the comparisons between DT platforms seems so confusing. Why?" @@ -155,4 +193,4 @@ Azure services or third-party services to get the kind of capabilities that GE Predix natively provides in one interface. - **The takeaway is that we pick horses for the courses.** \ No newline at end of file + The takeaway is that we pick horses for the courses. diff --git a/script/env.sh b/script/env.sh index 90301a022..12185469e 100755 --- a/script/env.sh +++ b/script/env.sh @@ -82,3 +82,6 @@ sudo -H pip3 install python-markdown-math sudo -H pip3 install mkdocs-open-in-new-tab sudo -H pip3 install mkdocs-with-pdf sudo -H pip3 install qrcode + +# Install markdownlint +sudo gem install mdl \ No newline at end of file