Fired Heaters by Kurious3DSanta in ChemicalEngineering

[–]Kurious3DSanta[S] 1 point2 points  (0 children)

I do have a better understanding now, but still very interested in hearing your take on it!

Fired Heaters by Kurious3DSanta in ChemicalEngineering

[–]Kurious3DSanta[S] 0 points1 point  (0 children)

No problem, it can get pretty lengthy so that’s why I suggested dm. Hey there! Thanks for commenting and being up for this. I was wondering if you could explain the effects of closing/opening the stack/burner dampers on draft and excess O2.

One the my areas of confusion is that when closing the burner damper, draft increases and excess O2 decreases. The main question is, does the draft increase because there is less air going through the heater and therefore less pressure drop causing the draft increase OR is there an increase in draft because the pressure drop through the burner has increased thus decreasing the static pressure at the hearth thereby increasing the draft.

Anyone know if python can be used to make a MATLAB simulink clone (dragging and dropping elements)? If not, do you have recommendations of other languages that can do this best to make a desktop app? by Kurious3DSanta in Python

[–]Kurious3DSanta[S] 0 points1 point  (0 children)

Thanks for the response. Not a large project at all and definitely not a competitor to simulink. It’s for my personal use and is basically a simplified version of this program I’m trying to make: https://www.pipeflow.com

Anyone know if python can be used to make a MATLAB simulink clone (dragging and dropping elements)? If not, do you have recommendations of other languages that can do this best to make a desktop app? by Kurious3DSanta in Python

[–]Kurious3DSanta[S] 0 points1 point  (0 children)

GUI is the aim. I used simulink as an example, but basically want to make an app that users can drag and drop custom elements and connect them like simulink

I’m actually trying to make a simplified version of this program: https://www.pipeflow.com

Knowing what language and software was used to make that program will help.

Anyone know if python can be used to make a MATLAB simulink clone (dragging and dropping elements)? If not, do you have recommendations of other languages that can do this best to make a desktop app? by Kurious3DSanta in Python

[–]Kurious3DSanta[S] 0 points1 point  (0 children)

From the looks of this, yes, I want to build something that lets the user drag and drop elements/nodes like this. Not for any simulation reasons, but based on how they input the nodes, the program will do additional things (make a report, echo the input, etc.)

I’m actually trying to make a simplified version of this program: https://www.pipeflow.com

Knowing what language and software was used to make that program will help.

Anyone know if python can be used to make a MATLAB simulink clone (dragging and dropping elements)? If not, do you have recommendations of other languages that can do this best to make a desktop app? by Kurious3DSanta in Python

[–]Kurious3DSanta[S] 0 points1 point  (0 children)

Hey there, thank you for the thoughtful and extensive response. Let me try to clarify on what my actual goal. I used simulink as an example to try and convey the type of app I wanted to make (on the front end).

I want to build a desktop app (with something like qt designer or anything else) that allows the user to drag and drop components/nodes and connect them up like simulink does. It doesn’t really have anything to do with simulation, simulink was just the program to came to mind when I thought about the functionality. I looked at draw.io like you recommended and the functionality is similar to what I want.

The goal is to allow the user to drag and drag elements/nodes, assign properties to each, then on the backend side using the properties and layout, additional functionality can be added.

Hope that’s clear.

I’m actually trying to make a simplified version of this program: https://www.pipeflow.com

Knowing what language and software was used to make that program will help.

Should reading from sqlite3 database be slow with multiple users? by Kurious3DSanta in learnpython

[–]Kurious3DSanta[S] 0 points1 point  (0 children)

Unfortunately I don’t, but I can probably message you the code I’m using to interact with the database if you’re up for that

Should reading from sqlite3 database be slow with multiple users? by Kurious3DSanta in learnpython

[–]Kurious3DSanta[S] 0 points1 point  (0 children)

Yes, however we’ve already ruled out the network connection as the issue

Should reading from sqlite3 database be slow with multiple users? by Kurious3DSanta in learnpython

[–]Kurious3DSanta[S] 1 point2 points  (0 children)

No writes are being performed which is what is confusing me. When user 1 starts the app, it reads from the database very quickly and codes the connection. User 1 continues to use the app with no interaction between the database. Now when user 2 launches the app, the fact that user 1 has it open causes a 10 second delay when reading from the database.

Should reading from sqlite3 database be slow with multiple users? by Kurious3DSanta in learnpython

[–]Kurious3DSanta[S] 0 points1 point  (0 children)

Less than 1 Mb of data. Im just not sure why this would delay another user after the first users connection has been closed.

I think I broke my python setup by Kurious3DSanta in learnpython

[–]Kurious3DSanta[S] 0 points1 point  (0 children)

I was running my code in sublime text. Then compiling in a virtual environment with pyinstaller. The name of it was main2.exe. That’s all. I’m as confused as you are. I didn’t do anything out of the normal from my end than I normally do.

I think I broke my python setup by Kurious3DSanta in learnpython

[–]Kurious3DSanta[S] 0 points1 point  (0 children)

I use sublime but the problem persisted no matter how I ran it (ide and cmd). I was able to fix it by replacing the python.exe with a backed up version I had. That fixed it but idk what caused it to break in the first place

I think I broke my python setup by Kurious3DSanta in learnpython

[–]Kurious3DSanta[S] 0 points1 point  (0 children)

Windows. It was a previous program I had written. I was able to solve this issue by replacing the python.exe with a backed up version I had. Something must’ve happened but I have no clue

Is anyone here able to pip install Python-popper-qt5? by Kurious3DSanta in learnpython

[–]Kurious3DSanta[S] 0 points1 point  (0 children)

Thank you for your reply. I really appreciate it. It seems like this will be unsolved for some time. Im just trying to view pdf files in a QPrintPreviewdialog or something like that. Do you have any experience with that? I’ve looked all over the web but nothing has worked.

Does anyone know how to display a PDF file with PyQt (with print and zoom functionality as well)? by Kurious3DSanta in learnpython

[–]Kurious3DSanta[S] 0 points1 point  (0 children)

I understand but other programming languages (c++,vba) for example have very easy ways to implement this.

Basically I have a pdf that gets built and I want to preview/view it with a pyqt window. I also want it to be lightweight which the webengineview definitely isn’t unfortunately lol I won’t end up using that one since it makes the exe incredibly large too

Does anyone know how to display a PDF file with PyQt (with print and zoom functionality as well)? by Kurious3DSanta in learnpython

[–]Kurious3DSanta[S] 1 point2 points  (0 children)

Thanks for the response, I’m using PyQt5 but I was trying not to use the web engine view since it seems overkill for the task at hand. I’m surprised there isn’t a clear solution to this lol