Programme A Carbon Emission Calculator With Proxy Data?
Mar 31, 2012
I am doing a Management Science project at Uni. I have to programme a carbon emission calculator using proxy values and some input variables.
Basically, 4 inputs: seize of ship in container capacity (categorized in 9 classes), distance, Fuel type used (2 types), speed (if known).
How can I match the input variables with the proxy data values? Lets say someone inputs 2300 as container ship seize, the programme needs to know which proxy value to use from all the different seize categories (as it could have been 5300 or 7450). A certain ship seize class has a number of proxies (atributes). For example power installed, design speed, av. container capacity. (Classes are ranges, i.e. from 1000 to 2000 containers = class 1, 2001-3000 = class 2 etc.)
The same principle applies with the other input variables except for distance. Speed only should be considered if it is known, otherwise the programme has to use proxy data as well.
In short, it is a calculator which, depending on some input variables, estimates carbon emissions based on proxy data. The problem I have: How do I let the programme know, if a certain ship category/speed is selected (inputted), which proxies the programme has to use. The rest is just a matter of adding/subtracting/multiplying/dividing the proxies and the input data to calculate the emissions.
I am doing a Management Science project at Uni. I have to programme a carbon emission calculator using proxy values and some input variables.Basically, 4 inputs: seize of ship in container capacity (categorized in 9 classes), distance, Fuel type used (2 types), speed (if known).How can I match the input variables with the proxy data values? Lets say someone inputs 2300 as container ship seize, the programme needs to know which proxy value to use from all the different seize categories (as it could have been 5300 or 7450). A certain ship seize class has a number of proxies (atributes). For example power installed, design speed, av. container capacity. (Classes are ranges, i.e. from 1000 to 2000 containers = class 1, 2001-3000 = class 2 etc.)The same principle applies with the other input variables except for distance. Speed only should be considered if it is known, otherwise the programme has to use proxy data as well.
In short, it is a calculator which, depending on some input variables, estimates carbon emissions based on proxy data. The problem I have: How do I let the programme know, if a certain ship category/speed is selected (inputted), which proxies the programme has to use. The rest is just a matter of adding/subtracting/multiplying/dividing the proxies and the input data to calculate the emissions.
I'm making a application to use in college to retrieve my calendar and other things in VB.NET. But my college uses a proxy so when I connect my laptop I need to change the internet settings in my web browser to view web pages. how I would send requests via a proxy server in VB.NET? Or is there a piece of software that I can download which tunnels all connections or is there a setting in win7 does this?
I need to get data from IMDB using proxy. I made program which can download data, but the were downloaded on Croatian language because
Dim url As String = "http://www.imdb.com/search/title?sort=moviemeter,asc&start=" & j & "&title_type=feature&year=2010,2010" Dim html, naslov, ocjena As String
I'd like to set the proxy for a web request. However, when I say, for example, request.proxy = "x.x.x.x:xxxxx", it gives me the error "String cannot be converted to webproxy". How can I get around this and actually set the proxy?
I need test data for a IP Subnet calculator I have developed. I have tested some obvious scenarios, and all seems good, but the person developing can often be the wrong person to test. The calculator can do one of two things:
1 - given an existing network and CIDR(mask), and a new CIDR it will create a number of networks with the appropriate number of hosts.
2 - given an existing network and CIDR(mask), and a list of c,h, (c = count, h=number of hosts) it will create the networks.
I can't get it to display the computed values in the label fields when I run the form. I've been through the example code provide to me, my textbook, google (how I found DaniWeb), and I've been over the code probably 50 times and the problem just isn't jumping out at me and it doesn't generate any errors or trigger the try catch, so I'm asking for fresh eye.[code]
I need test data for a IP Subnet calculator I have developed. I have tested some obvious scenarios, and all seems good, but the person developing can often be the wrong person to test.
The calculator can do one of two things:
1 - given an existing network and CIDR(mask), and a new CIDR it will create a number of networks with the appropriate number of hosts.
2 - given an existing network and CIDR(mask), and a list of c,h, (c = count, h=number of hosts) it will create the networks.
I found similar forum thread [URL], but he don't have answers. How I can conncect | send | recive data using tcp connection with specific internet service (not web).
When I test run my programme (F5) it automatically saves files in a folder that is within the test project.I'd like to create a folder that is created when the programme is first installed (My Documents or in within the programme folder). How do I do this? I also want to give it a specific name instead of a name being given to it automatically. I know how to create a folder and save files in it during the test runs when I press F5 (If directory.exists etc etc etc) but that is during the runtime - how do I make a folder already available that is created during installtion.
I'd like to be able to run and use a programme as part of my application. I have a sound editing application and rather than have several different windows, I'd like to be able to show this editing program in a panel of my own VB application. I'd also like to be able to close it and reopen it.
i don't know if i posted this in the right section but ok.ant to make a programme. Its like from capitals to normal letters. its a kind of decapitalization programmeI have a website and some people post their message with capitals. Sometimes those are very long messages and i don't wanna type it all over
im trying to create a safe type programme on visual basic, which has a set combination button which when first clicked opens up a box to allow a password to be entered, once entered the safe is locked until you enter the password and push a button to try the key,
#1-how can i make a automatic start-up msgbox?it is just like when we run microsoft Word; which will display a message box (stated: product from microsoft, licensed to and others) #2-how to make new line in msgbox?as i have some information to write on the msgbox and i need to insert each information in new line in msgbox.
I've just finished the coding for latest programme I'm making for a buses company, now the coding is fine. But the actual design of the forms is quiet tacky and amateur looking.The object here is to try and make my application look as professional as possible, I've noticed that on Vista, whenever you let's say transfer a file or load up something, they always have that really cool graphic right at the top of something moving, or something really cool happening.
I heard that there's a pack somewhere that you can download of vista designs for loading, file transfer etc, but I don't actually know where to find it.Does anybody here know?, or how they work?, or that just animated GIF files, or are they actually coded into the forms?
I have been doing a webbrowser for a few days and i had come to some problems i can't solve... First: how can i programme the right click of the mouse, like when the user clicks a link the option open in new tab works and it doesn't open IE. Second: I had a favourite system that when the user saves the page the items in a combobox are saved in a txt file. But the problem is that the file saves just this "System.Windows.Forms.ComboBox+ObjectCollection " and not the link of the saved page...
I've just finished my programme, and would liek to publish it for beneficial use . But when I publish the code, only my own computer (which has Visual Basics Express 2008 Edition installed) could use the published executable file. All the other computers comes up with a warning saying a .NET environment is required.
How could I publish the codes so that the programme could run on all (or most) computers without having VB installed in all of them?
how to send/receive messages via RS232 from my programme. I have a USB-serial adaptor
Can anyone recommend any places to look? Is this something that you would expect would be fairly easy to do for someone with a few months of coding practice?
I want to write a human resource programme that can accept employee records and compute for their salaries and overtime and also print out the needed salary slips and reports.
I am using VB Express 2008, on Windows XP Pro. I have written a programme which tests another programme which compares prices and terms from several vendors. This Bid Tabulation programme, compares prices and terms of up to 10 Bidders and 500 line items in mixed currencies.The testing programme, initially, would not work and I discovered that I needed to introduce a delay in order for it to run the Bid Tabulation programme. So my initial code, using the delay, was:
[code]...
And the button was clicked, and the Bid Tabulation programme started and ran successfully, as long as the number of vendors was 5 and the number of line items was 5. when I tried to increase the number of vendors to 10, the programme failed.I then discovered that at the point of failure, when the particular ParentHWND=0, if I introduced:
[code]...
Does anyone know what I am doing wrong, or whether there is another way to assure that ParentHWND will not equal zero without using a time delay?
I am using MS Windows XP, and Visual Basic Express 2008 and I am trying to write a programme that will enter a lot of information into another programme that I have written for testing purposes. The programme that I am writing to has up to 500 line items, by 10 possible suppliers; as you can imagine testing this every time is too labour intensive.[code].....
This code correctly takes me through the various forms until it reaches the Input General Information Form, which opens with the top TextBox in focus. However the entry, "Escravos Gas to Liquids", is placed in the last TextBox.How do I make it enter in the first TextBox, which is in focus? From that point on how do I cycle through the remaining 10 TexBoxes to make each entry?
I have been trying to find code that will enable me to get default icons for a treeview in a computer browser programme. like the WINDOWS browser(Not the internet one but the "Windows Explorer" one) but i can't get icons that are allready there
I am attempting to write a programme where a user can type in a 'string' into a textbox. A data dictionary will contain specific keywords relating to a specific classification, where an algorithm can detect whether any of the keywords occur in the 'string'. Here are the processes that need to occur:
1) A data dictionary, that contains keywords relating to specific classes eg. (IT Issues, Printer, Software, Password).
2) An algorithm needs to compare the words in the Data Dictionary to that of the 'string' to detect any matches.
3) A rule set to determine what classification the 'string' needs to be classed as.
i am trying to create a programme whereby when a hotkey is pressed, a keyboard key spams automatically .for e.g , i press F10 and the letter "Z" spams..i know i need to add in a timer , and I added two buttons for the function of start and stop . after that , i added in the hotkeys and then i am stuck in adding the code for the automatic spamming of the particular keyboard letter.i found out how but it is only when i click a textbox then it would spam . here is my code. i need it to work in a certain game . like auto loot [code]